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 <pranavayn@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91777
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Pranava Y N 2026-03-20 14:34:03 +05:30 committed by Subrata Banik
commit dc41e46b7f

View file

@ -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)
{