| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_COMMON_BLOCK_SGX |
| 4 |
bool |
| 5 |
select CPU_INTEL_COMMON |
| 6 |
default n |
| 7 |
help |
| 8 |
Intel Processor common SGX support |
| 9 |
|
| 10 |
if SOC_INTEL_COMMON_BLOCK_SGX |
| 11 |
|
| 12 |
config SOC_INTEL_COMMON_BLOCK_SGX_LOCK_MEMORY |
| 13 |
bool |
| 14 |
default n |
| 15 |
help |
| 16 |
Lock memory before SGX activation. This is only needed if MCHECK does not do it. |
| 17 |
|
| 18 |
config SOC_INTEL_COMMON_BLOCK_SGX_ENABLE |
| 19 |
bool "Enable Software Guard Extensions (SGX) if available" |
| 20 |
default n |
| 21 |
help |
| 22 |
Intel Software Guard Extensions (SGX) is a set of new CPU instructions that can be |
| 23 |
used by applications to set aside private regions (so-called Secure Enclaves) of |
| 24 |
code and data. |
| 25 |
|
| 26 |
SGX will only be enabled when supported by the CPU! Configure PRMRR size using |
| 27 |
SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE config option. |
| 28 |
|
| 29 |
endif |