summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugene Myers <edmyers@tycho.nsa.gov>2020-02-12 12:47:57 -0500
committerNico Huber <nico.h@gmx.de>2020-02-21 09:02:06 +0000
commit9d4f94af248418ff6b88ee2c0f9013b372ef3344 (patch)
treee84dfeed016781e621a942aaa8984e1ba8248ae5 /src
parent5544f62746aeb8e5e1a7916d9b509f4d9339f387 (diff)
downloadcoreboot-9d4f94af248418ff6b88ee2c0f9013b372ef3344.tar.xz
security/intel/stm: Use depends on ENABLE_VMX
The STM is a part of the core VTx and using ENABLE_VMX will make the STM option available for any configuration that has an Intel processor that supports VTx. Signed-off-by: Eugene D. Myers <edmyers@tycho.nsa.gov> Change-Id: I57ff82754e6c692c8722d41f812e35940346888a Reviewed-on: https://review.coreboot.org/c/coreboot/+/38852 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/security/intel/stm/Kconfig8
-rw-r--r--src/soc/intel/skylake/Kconfig1
2 files changed, 2 insertions, 7 deletions
diff --git a/src/security/intel/stm/Kconfig b/src/security/intel/stm/Kconfig
index 144deeda9e..618217f686 100644
--- a/src/security/intel/stm/Kconfig
+++ b/src/security/intel/stm/Kconfig
@@ -1,12 +1,8 @@
-
-config PLATFORM_SUPPORTS_STM
- bool
- depends on SMM_TSEG
-
config STM
bool "Enable STM"
default n
- depends on PLATFORM_SUPPORTS_STM
+ depends on ENABLE_VMX
+ depends on SMM_TSEG
select USE_BLOBS
help
diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index 0340282c90..7382df0134 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -44,7 +44,6 @@ config CPU_SPECIFIC_OPTIONS
select NO_FIXED_XIP_ROM_SIZE
select PARALLEL_MP
select PARALLEL_MP_AP_WORK
- select PLATFORM_SUPPORTS_STM
select PLATFORM_USES_FSP2_0
select REG_SCRIPT
select SA_ENABLE_DPR