summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2019-10-31 19:00:45 +0100
committerNico Huber <nico.h@gmx.de>2019-11-02 13:09:15 +0000
commit4e8db0fa32973adf0ad4dd481a0f1ef92b02ff84 (patch)
tree404b2e7acd27557a47f433809b9f3ac3ceaf14d8 /src/soc/intel
parent2ca11a527c0be3669fadaa7f681e5a21e7d6460f (diff)
soc/intel/common: sgx: add new Kconfig option for setting LT_LOCK_MEMORY
Add new Kconfig option for setting LT_LOCK_MEMORY. Change-Id: I1b232e34a1288ce36a3dce2ab0293c26f10f3881 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36513 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/sgx/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/sgx/Kconfig b/src/soc/intel/common/block/sgx/Kconfig
index ffd501a7e2..026c6afb0d 100644
--- a/src/soc/intel/common/block/sgx/Kconfig
+++ b/src/soc/intel/common/block/sgx/Kconfig
@@ -7,3 +7,10 @@ config SOC_INTEL_COMMON_BLOCK_SGX
Software Guard eXtension(SGX) Feature. Intel SGX is a set of new CPU
instructions that can be used by applications to set aside private
regions of code and data.
+
+config SOC_INTEL_COMMON_BLOCK_SGX_LOCK_MEMORY
+ bool
+ depends on SOC_INTEL_COMMON_BLOCK_SGX
+ default n
+ help
+ Lock memory before SGX activation. This is only needed if MCHECK does not do it.