From dc41e46b7f2e2fb279f070d6f791d3e1d0742530 Mon Sep 17 00:00:00 2001 From: Pranava Y N Date: Fri, 20 Mar 2026 14:34:03 +0530 Subject: [PATCH] google/fatcat: Move mainboard_pre_dev_init_chips hook to BS_ON_EXIT The current implementation executes the mainboard_pre_dev_init_chips hook at the entry of BS_DEV_INIT_CHIPS boot state. Move this to the exit to add more delay in execution, change the function name accordingly. BUG=b:493322404 TEST=Able to build and boot fatcat Change-Id: Icec47552f3331457c05cd255ecc1385ec70d6b94 Signed-off-by: Pranava Y N Reviewed-on: https://review.coreboot.org/c/coreboot/+/91777 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) Reviewed-by: Ren Kuo Reviewed-by: Kapil Porwal --- src/mainboard/google/fatcat/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/fatcat/mainboard.c b/src/mainboard/google/fatcat/mainboard.c index b731f1d4d5..a9adbe3710 100644 --- a/src/mainboard/google/fatcat/mainboard.c +++ b/src/mainboard/google/fatcat/mainboard.c @@ -67,12 +67,12 @@ void __weak fw_config_post_gpio_configure(void) /* default implementation does nothing */ } -static void mainboard_pre_dev_init_chips(void *unused) +static void mainboard_post_dev_init_chips(void *unused) { fw_config_post_gpio_configure(); } -BOOT_STATE_INIT_ENTRY(BS_DEV_INIT_CHIPS, BS_ON_ENTRY, mainboard_pre_dev_init_chips, NULL); +BOOT_STATE_INIT_ENTRY(BS_DEV_INIT_CHIPS, BS_ON_EXIT, mainboard_post_dev_init_chips, NULL); void __weak baseboard_devtree_update(void) {