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>
This commit is contained in:
Michael Niewöhner 2019-10-31 19:00:45 +01:00 committed by Nico Huber
parent 2ca11a527c
commit 4e8db0fa32
1 changed files with 7 additions and 0 deletions

View File

@ -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.