| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # Generic Trusted Execution Environment Configuration |
| 3 | menuconfig TEE |
| 4 | tristate "Trusted Execution Environment support" |
| 5 | depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD |
| 6 | select CRYPTO_LIB_SHA1 |
| 7 | select DMA_SHARED_BUFFER |
| 8 | select GENERIC_ALLOCATOR |
| 9 | help |
| 10 | This implements a generic interface towards a Trusted Execution |
| 11 | Environment (TEE). |
| 12 | |
| 13 | if TEE |
| 14 | |
| 15 | config TEE_DMABUF_HEAPS |
| 16 | bool |
| 17 | depends on HAS_DMA && DMABUF_HEAPS |
| 18 | default y |
| 19 | |
| 20 | source "drivers/tee/optee/Kconfig" |
| 21 | source "drivers/tee/amdtee/Kconfig" |
| 22 | source "drivers/tee/tstee/Kconfig" |
| 23 | source "drivers/tee/qcomtee/Kconfig" |
| 24 | |
| 25 | endif |