arch/x86: Don't allow separate verstage to boot from romcc bootblock
CONFIG_VBOOT_SEPARATE_VERSTAGE has a dependency on C_ENVIRONMENT_BOOTBLOCK so Kconfig already guards against this. Change-Id: I8f963a27f9023fd4c6ebc418059d57e00e4dfb4c Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35824 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Nico Huber
parent
6010eb27c9
commit
c70af6530c
@@ -27,12 +27,7 @@ static void main(unsigned long bist)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG(VBOOT_SEPARATE_VERSTAGE)
|
|
||||||
const char *target1 = "fallback/verstage";
|
|
||||||
#else
|
|
||||||
const char *target1 = "fallback/romstage";
|
const char *target1 = "fallback/romstage";
|
||||||
#endif
|
|
||||||
|
|
||||||
unsigned long entry;
|
unsigned long entry;
|
||||||
entry = findstage(target1);
|
entry = findstage(target1);
|
||||||
if (entry)
|
if (entry)
|
||||||
|
Reference in New Issue
Block a user