summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/sgx/Kconfig
blob: 468a57bebd736aa9fab232aa2e7e119dd46114ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## SPDX-License-Identifier: GPL-2.0-only

config SOC_INTEL_COMMON_BLOCK_SGX
	bool
	select CPU_INTEL_COMMON
	default n
	help
	  Intel Processor common SGX support

if SOC_INTEL_COMMON_BLOCK_SGX

config SOC_INTEL_COMMON_BLOCK_SGX_LOCK_MEMORY
	bool
	default n
	help
	 Lock memory before SGX activation. This is only needed if MCHECK does not do it.

config SOC_INTEL_COMMON_BLOCK_SGX_ENABLE
	bool "Enable Software Guard Extensions (SGX) if available"
	default n
	help
	  Intel Software Guard Extensions (SGX) is a set of new CPU instructions that can be
	  used by applications to set aside private regions (so-called Secure Enclaves) of
	  code and data.

	  SGX will only be enabled when supported by the CPU! Configure PRMRR size using
	  SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE config option.

endif