summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2020-12-01 14:10:42 +0100
committerArthur Heymans <arthur@aheymans.xyz>2020-12-04 11:11:17 +0000
commitd79e48570c78600313351988ae5940cd4e9aa0e0 (patch)
tree158d15b088513c0859b2e7d7364bc40ac2c0e7d9 /src/cpu
parentd0e9538f88fa150262201debb421d45d38503061 (diff)
cpu/qemu-x86: Add the option to have no SMM
Qemu i440fx does not support an smihandler at the moment. Change-Id: I5526b19b8294042a49e5bca61036e47db01fd28a Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/qemu-x86/Kconfig21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index 87d02fc030..c7ba631c81 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -5,10 +5,29 @@ config CPU_QEMU_X86
select UDELAY_TSC
select TSC_MONOTONIC_TIMER
select UNKNOWN_TSC_RATE
- select SMM_ASEG
if CPU_QEMU_X86
+# coreboot i440fx does not support SMM
+choice
+ prompt "SMM support"
+ default CPU_QEMU_X86_ASEG_SMM
+ depends on BOARD_EMULATION_QEMU_X86_Q35
+
+config CPU_QEMU_X86_NO_SMM
+ bool "No SMM"
+ select NO_SMM
+
+config CPU_QEMU_X86_ASEG_SMM
+ bool "SMM in ASEG"
+ select SMM_ASEG
+
+#config CPU_QEMU_X86_TSEG_SMM
+# bool "SMM in TSEG"
+# select SMM_TSEG
+
+endchoice
+
config CPU_QEMU_X86_64
bool "Experimental 64bit support"
select ARCH_ALL_STAGES_X86_64