summaryrefslogtreecommitdiff
path: root/src/security/intel
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-02-07 18:37:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-09 19:36:32 +0000
commit9f78faedabba30d491e7a5b923bd57b27e986c1d (patch)
treebb531b32a35c72174a72ba57671cf2c73f36793c /src/security/intel
parenteabb0c06f5b0053a25d9f04bc4e165bd1324cc15 (diff)
intel/stm: Add platform opt-in Kconfig
Selecting STM on an arbitrary platform would likely result in a brick, so let's hide the prompt by default. Change-Id: I50f2106ac05c3efb7f92fccb1e6edfbf961b68b8 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38764 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: <cedarhouse1@comcast.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/security/intel')
-rw-r--r--src/security/intel/stm/Kconfig5
1 files changed, 4 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