From 9d4f94af248418ff6b88ee2c0f9013b372ef3344 Mon Sep 17 00:00:00 2001 From: Eugene Myers Date: Wed, 12 Feb 2020 12:47:57 -0500 Subject: 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 Change-Id: I57ff82754e6c692c8722d41f812e35940346888a Reviewed-on: https://review.coreboot.org/c/coreboot/+/38852 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/security/intel/stm/Kconfig | 8 ++------ src/soc/intel/skylake/Kconfig | 1 - 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 -- cgit v1.2.3