summaryrefslogtreecommitdiff
path: root/src/cpu/qemu-x86/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2020-12-01 14:15:15 +0100
committerArthur Heymans <arthur@aheymans.xyz>2020-12-04 11:11:45 +0000
commit5e31a1939b35c7c0ec0f9bdda3decff9af606bcf (patch)
tree708a83d9301cda964f2915f2ae5615fa37da07d0 /src/cpu/qemu-x86/Kconfig
parent91d5a6cc47d7155150eae5eaf0e4f5035e8df7a5 (diff)
cpu/qemu-x86: Increase MAX_CPUS to have actual AP init
CONFIG_MAX_CPUS=4 is the maximum supported with SMM_ASEG. TESTED: on q35 and i440fx -smp 4/32. Change-Id: I696856870e34e7a7ad580bc83c6b38f1dfb4511d Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48209 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/cpu/qemu-x86/Kconfig')
-rw-r--r--src/cpu/qemu-x86/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index c7ba631c81..24029325af 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -28,6 +28,11 @@ config CPU_QEMU_X86_ASEG_SMM
endchoice
+config MAX_CPUS
+ int
+ default 4 if SMM_ASEG
+ default 32
+
config CPU_QEMU_X86_64
bool "Experimental 64bit support"
select ARCH_ALL_STAGES_X86_64