xref: /linux/drivers/tee/Kconfig (revision 38057e323657695ec8f814aff0cdd1c7e00d3e9b)
1# SPDX-License-Identifier: GPL-2.0-only
2# Generic Trusted Execution Environment Configuration
3menuconfig 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
13if TEE
14
15config TEE_DMABUF_HEAPS
16	bool
17	depends on HAS_DMA && DMABUF_HEAPS
18	default y
19
20source "drivers/tee/optee/Kconfig"
21source "drivers/tee/amdtee/Kconfig"
22source "drivers/tee/tstee/Kconfig"
23source "drivers/tee/qcomtee/Kconfig"
24
25endif
26