diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-12 16:16:02 +0100 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2022-11-14 15:54:02 +0000 |
commit | 6e85740236d203eb6be6367f242bb673bfa14849 (patch) | |
tree | 879be5d24dd819e990646f59fb8c156bb8d28b86 /src/arch | |
parent | 32882c97f93a1e8075f3c49a5a2766a0dc849499 (diff) |
arch/x86/Kconfig: Move AMD stages arch to common code
Use VBOOT_STARTS_BEFORE_BOOTBLOCK to determine whether the VERSTAGE
needs to be build as x86 stage.
Change-Id: I126801a1f6f523435935bb300f3e2807db347f63
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69505
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/Kconfig | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index b60f600541..f7b92506f5 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -28,9 +28,9 @@ config ARCH_RAMSTAGE_X86_32 config ARCH_ALL_STAGES_X86_32 bool - default ARCH_ALL_STAGES_X86 && !ARCH_ALL_STAGES_X86_64 + default !ARCH_ALL_STAGES_X86_64 select ARCH_BOOTBLOCK_X86_32 - select ARCH_VERSTAGE_X86_32 + select ARCH_VERSTAGE_X86_32 if !VBOOT_STARTS_BEFORE_BOOTBLOCK select ARCH_ROMSTAGE_X86_32 select ARCH_RAMSTAGE_X86_32 select ARCH_SUPPORTS_CLANG @@ -61,14 +61,10 @@ config ARCH_RAMSTAGE_X86_64 config ARCH_ALL_STAGES_X86_64 bool select ARCH_BOOTBLOCK_X86_64 - select ARCH_VERSTAGE_X86_64 + select ARCH_VERSTAGE_X86_64 if !VBOOT_STARTS_BEFORE_BOOTBLOCK select ARCH_ROMSTAGE_X86_64 select ARCH_RAMSTAGE_X86_64 -config ARCH_ALL_STAGES_X86 - bool - default y - config HAVE_EXP_X86_64_SUPPORT bool help |