summaryrefslogtreecommitdiff
path: root/src/cpu/qemu-x86
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2021-02-02 18:14:24 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-04 09:53:02 +0000
commitcfa02256a5098e8449b4cbc1830990fac75d5fc1 (patch)
tree3abfea603b9c709b898a44b38d8cbd514a3a147a /src/cpu/qemu-x86
parent944da4828fefe3ffcb691e55d9c55edef190fabe (diff)
mb/emulation/qemu: Fix SMP boot
Fix booting with SMP enabled, when specifying more CPUs than supported by the code. Change-Id: Ib3d7c1a1a7a8633d4d434ccbd46cf92b0074b724 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50235 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/cpu/qemu-x86')
-rw-r--r--src/cpu/qemu-x86/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index 641cea815c..a22d7f9eab 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -44,8 +44,8 @@ endchoice
config MAX_CPUS
int
- default 4 if SMM_ASEG
- default 32
+ default 32 if SMM_TSEG
+ default 4
config CPU_QEMU_X86_64
bool "Experimental 64bit support"