mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-08-25 21:42:22 +00:00
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# 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) || (TEEGRIS_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)
|
|
|
|
#
|
|
# TEEGRIS configuration
|
|
#
|
|
config TEEGRIS_TEE_SUPPORT
|
|
bool "Enable TEEGRIS TEE Support"
|
|
help
|
|
Enable TEEGRIS TEE Support,
|
|
mainly for all kernel drivers
|
|
that are built for TEEGRIS TEE,
|
|
such as SVP and TZDEV.
|
|
|
|
source "drivers/tee/optee/Kconfig"
|
|
source "drivers/tee/amdtee/Kconfig"
|
|
source "drivers/tee/teeperf/Kconfig"
|
|
source "drivers/tee/gud/Kconfig"
|
|
#source "drivers/tee/tzdev/Kconfig"
|
|
source "drivers/tee/teei/Kconfig"
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
endif
|