summaryrefslogtreecommitdiff
path: root/src/cpu/x86/Kconfig
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-08 09:56:00 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-09 12:48:46 +0000
commit8abf66e4e06412db08918dcde31f2d515040a409 (patch)
tree42f13869f4a0da507452ea66f1bca9dad89f05cc /src/cpu/x86/Kconfig
parent4d372c7353727e9ffce9ec4e6b2de3cd6ab8e320 (diff)
cpu/x86: Flip SMM_TSEG default
This is only a qualifier between TSEG and ASEG. Change-Id: I8051df92d9014e3574f6e7d5b6f1d6677fe77c82 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34135 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/cpu/x86/Kconfig')
-rw-r--r--src/cpu/x86/Kconfig15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index d230a57e3f..8cc493ed55 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -93,18 +93,25 @@ config HAVE_SMI_HANDLER
default n
depends on (SMM_ASEG || SMM_TSEG)
+config NO_SMM
+ bool
+ default n
+
config SMM_ASEG
bool
default n
+ depends on !NO_SMM
config SMM_TSEG
bool
- default n
+ default y
+ depends on !(NO_SMM || SMM_ASEG)
+
+if SMM_TSEG
config SMM_MODULE_HEAP_SIZE
hex
default 0x4000
- depends on SMM_TSEG
help
This option determines the size of the heap within the SMM handler
modules.
@@ -112,7 +119,6 @@ config SMM_MODULE_HEAP_SIZE
config SMM_MODULE_STACK_SIZE
hex
default 0x400
- depends on SMM_TSEG
help
This option determines the size of the stack within the SMM handler
modules.
@@ -120,11 +126,12 @@ config SMM_MODULE_STACK_SIZE
config SMM_STUB_STACK_SIZE
hex
default 0x400
- depends on SMM_TSEG
help
This option determines the size of the stack within the SMM handler
modules.
+endif
+
config SMM_LAPIC_REMAP_MITIGATION
bool
default y if NORTHBRIDGE_INTEL_I945