35 lines
1,011 B
Text
35 lines
1,011 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Generic Trusted Execution Environment Configuration
|
|
config TEE
|
|
tristate "Trusted Execution Environment support"
|
|
depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
|
|
select CRYPTO
|
|
select CRYPTO_SHA1
|
|
select DMA_SHARED_BUFFER
|
|
select GENERIC_ALLOCATOR
|
|
help
|
|
This implements a generic interface towards a Trusted Execution
|
|
Environment (TEE).
|
|
|
|
if TEE
|
|
|
|
menu "TEE drivers"
|
|
|
|
config MTK_TEE_GP_SUPPORT
|
|
bool "Enable MTK GlobalPlatform support in TEE related modules"
|
|
default n
|
|
depends on (TRUSTONIC_TEE_SUPPORT) || (MICROTRUST_TEE_SUPPORT)
|
|
help
|
|
GlobalPlatform defines common/consistent APIs and this option
|
|
enables TEE related modules to use GPAPIs. (depending on
|
|
Trustonic TEE Support or Microtrust TEE Support or Google Trusty
|
|
TEE or other 3rd-party TEE)
|
|
|
|
source "drivers/tee/optee/Kconfig"
|
|
source "drivers/tee/amdtee/Kconfig"
|
|
source "drivers/tee/teeperf/Kconfig"
|
|
source "drivers/tee/gud/Kconfig"
|
|
source "drivers/tee/teei/Kconfig"
|
|
endmenu
|
|
|
|
endif
|