diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-09-25 10:14:45 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-09-26 11:42:22 +0000 |
commit | 2db779079585ed894189fad98a1a57b365e78d98 (patch) | |
tree | 67119ce610d90166dfd61a475839b5551ba7cbf1 /src | |
parent | 2c6fcab2281e73f39ee42b78794d44a5ff465d32 (diff) |
arch/x86: Introduce `ARCH_ALL_STAGES_X86_64`
Though only one platform uses it, this will save some redundancy.
Change-Id: Ic151efe5dd9b7c89f779ac3e10c3a045f07221d3
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45730
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/Kconfig | 7 | ||||
-rw-r--r-- | src/cpu/qemu-x86/Kconfig | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index d906436a8c..14f542aa69 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -50,6 +50,13 @@ config ARCH_RAMSTAGE_X86_64 bool select ARCH_X86 +config ARCH_ALL_STAGES_X86_64 + bool + select ARCH_BOOTBLOCK_X86_64 + select ARCH_VERSTAGE_X86_64 + select ARCH_ROMSTAGE_X86_64 + select ARCH_RAMSTAGE_X86_64 + if ARCH_X86 config ARCH_X86_64_PGTBL_LOC diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig index af0c746f10..e72fbc308d 100644 --- a/src/cpu/qemu-x86/Kconfig +++ b/src/cpu/qemu-x86/Kconfig @@ -12,11 +12,8 @@ if CPU_QEMU_X86 config CPU_QEMU_X86_64 bool "Experimental 64bit support" - select ARCH_BOOTBLOCK_X86_64 - select ARCH_VERSTAGE_X86_64 - select ARCH_ROMSTAGE_X86_64 + select ARCH_ALL_STAGES_X86_64 select ARCH_POSTCAR_X86_64 - select ARCH_RAMSTAGE_X86_64 config CPU_QEMU_X86_32 bool |