summaryrefslogtreecommitdiffstats
path: root/src/cpu/qemu-x86
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-22 15:41:59 +0200
committerAngel Pons <th3fanbus@gmail.com>2021-07-02 08:19:21 +0000
commit16fe5e1511dde46ec3a82988361ebdae54802cbc (patch)
tree167a5fba6261458dd4820986e7d42c2a3aefb021 /src/cpu/qemu-x86
parent6f5a6581a61706b0b271ff16845fd0cefe46928b (diff)
downloadcoreboot-16fe5e1511dde46ec3a82988361ebdae54802cbc.tar.gz
coreboot-16fe5e1511dde46ec3a82988361ebdae54802cbc.tar.bz2
coreboot-16fe5e1511dde46ec3a82988361ebdae54802cbc.zip
src: Consolidate x86_64 support Kconfig
Introduce `USE_EXP_X86_64_SUPPORT` in `src/arch/x86/Kconfig` and guard it with `HAVE_EXP_X86_64_SUPPORT`. Replace the per-CPU implementations of the same functionality with the newly-added Kconfig options. Update documentation and the config file for QEMU accordingly. Change-Id: I550216fd2a8323342d6b605306b0b95ffd5dcd1c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55760 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/cpu/qemu-x86')
-rw-r--r--src/cpu/qemu-x86/Kconfig9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index 6d897fe5013f..2f961dca9064 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -3,6 +3,7 @@
config CPU_QEMU_X86
bool
select ARCH_X86
+ select HAVE_EXP_X86_64_SUPPORT
select UDELAY_TSC
select TSC_MONOTONIC_TIMER
select UNKNOWN_TSC_RATE
@@ -49,12 +50,4 @@ config MAX_CPUS
default 32 if SMM_TSEG
default 4
-config CPU_QEMU_X86_64
- bool "Experimental 64bit support"
- select ARCH_ALL_STAGES_X86_64
-
-config CPU_QEMU_X86_32
- bool
- default n if CPU_QEMU_X86_64
- default y
endif