bootblock: Support normal/fallback mechanism again
Change-Id: I7395e62f6682f4ef123da10ac125127a57711ec6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37760 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
12b1d7df70
commit
b8d575c644
@ -60,8 +60,13 @@ void run_romstage(void)
|
||||
|
||||
vboot_run_logic();
|
||||
|
||||
if (prog_locate(&romstage))
|
||||
goto fail;
|
||||
if (CONFIG(ARCH_X86) && CONFIG(BOOTBLOCK_NORMAL)) {
|
||||
if (legacy_romstage_selector(&romstage))
|
||||
goto fail;
|
||||
} else {
|
||||
if (prog_locate(&romstage))
|
||||
goto fail;
|
||||
}
|
||||
|
||||
timestamp_add_now(TS_START_COPYROM);
|
||||
|
||||
|
Reference in New Issue
Block a user