summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/security/intel/stm/Kconfig5
-rw-r--r--src/soc/intel/skylake/Kconfig1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/security/intel/stm/Kconfig b/src/security/intel/stm/Kconfig
index a74eba8522..144deeda9e 100644
--- a/src/security/intel/stm/Kconfig
+++ b/src/security/intel/stm/Kconfig
@@ -1,9 +1,12 @@
+config PLATFORM_SUPPORTS_STM
+ bool
+ depends on SMM_TSEG
config STM
bool "Enable STM"
default n
- depends on SMM_TSEG
+ depends on PLATFORM_SUPPORTS_STM
select USE_BLOBS
help
diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index 6277cea0b8..ae60a63056 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -44,6 +44,7 @@ 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