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:
parent
dc64b9659d
commit
b603f23088
1 changed files with 7 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue