blob: 5ca5a0836c5906be5f517aee700bca0d204b0f64 [file] [log] [blame]
Jens Wiklander9ff4a312018-09-25 16:40:09 +02001# Generic Trusted Execution Environment Configuration
2config TEE
3 bool "Trusted Execution Environment support"
Jens Wiklandereadf26f2018-09-25 16:40:18 +02004 depends on (ARM && (ARM64 || CPU_V7A)) || SANDBOX
5 select ARM_SMCCC if ARM
Jens Wiklander9ff4a312018-09-25 16:40:09 +02006 help
7 This implements a generic interface towards a Trusted Execution
8 Environment (TEE). A TEE is a trusted OS running in some secure
9 environment, for example, TrustZone on ARM cpus, or a separate
10 secure co-processor etc. See also:
11 https://en.wikipedia.org/wiki/Trusted_execution_environment
Jens Wiklanderd4bd3d22018-09-25 16:40:11 +020012
13if TEE
14
15menu "TEE drivers"
16
Jens Wiklandereadf26f2018-09-25 16:40:18 +020017config SANDBOX_TEE
18 bool "Sandbox TEE emulator"
19 depends on SANDBOX
20 default y
21 help
22 This emulates a generic TEE needed for testing including the AVB
23 TA. The emulation provides all callbacks of a regular TEE and
24 supports session and shared memory management. The AVB TA is
25 emulated with rollback indexes and device lock-state, the state
26 of the TA is only kept in RAM and will be reset on each boot.
27 The emulation only supports one open session at a time.
28 Interaction from the U-Boot command line in possible via the
29 "avb" commands.
30
Jens Wiklanderd4bd3d22018-09-25 16:40:11 +020031source "drivers/tee/optee/Kconfig"
Vikas Gupta8ed63732020-07-15 22:57:19 +053032source "drivers/tee/broadcom/Kconfig"
Jens Wiklanderd4bd3d22018-09-25 16:40:11 +020033
34endmenu
35
36endif