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>
This commit is contained in:
committed by
Paul Fagerburg
parent
32882c97f9
commit
6e85740236
@@ -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
|
||||
|
Reference in New Issue
Block a user