summaryrefslogtreecommitdiff
path: root/drivers/tee/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tee/Kconfig')
-rw-r--r--drivers/tee/Kconfig16
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig
index a6df12d88f90..98c3ad083940 100644
--- a/drivers/tee/Kconfig
+++ b/drivers/tee/Kconfig
@@ -1,7 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-only
# Generic Trusted Execution Environment Configuration
-config TEE
+menuconfig TEE
tristate "Trusted Execution Environment support"
- depends on HAVE_ARM_SMCCC || COMPILE_TEST
+ depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
+ select CRYPTO_LIB_SHA1
select DMA_SHARED_BUFFER
select GENERIC_ALLOCATOR
help
@@ -10,10 +12,14 @@ config TEE
if TEE
-menu "TEE drivers"
+config TEE_DMABUF_HEAPS
+ bool
+ depends on HAS_DMA && DMABUF_HEAPS
+ default y
source "drivers/tee/optee/Kconfig"
-
-endmenu
+source "drivers/tee/amdtee/Kconfig"
+source "drivers/tee/tstee/Kconfig"
+source "drivers/tee/qcomtee/Kconfig"
endif