mb/google/bluey: Avoid using function call table

BUG=none
TEST=Build Google/Quenbi.

Change-Id: Ie2df9402c3a2cf95e150a4a4321477ddee7e9678
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88655
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kapil Porwal 2025-08-06 00:48:45 +05:30 committed by Subrata Banik
commit b603f23088

View file

@ -9,16 +9,14 @@
void platform_romstage_main(void)
{
void (*const fw_init_sequence[])(void) = {
shrm_fw_load_reset,
qclib_load_and_run,
aop_fw_load_reset,
qclib_rerun,
};
shrm_fw_load_reset();
/* Executing essential firmware loading */
for (size_t i = 0; i < ARRAY_SIZE(fw_init_sequence); i++)
fw_init_sequence[i]();
/* QCLib: DDR init & train */
qclib_load_and_run();
aop_fw_load_reset();
qclib_rerun();
/*
* Enable this power rail now for FPMCU stability prior to