mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
94ccfb78a4
This change defines resources for OP-TEE service drivers to register themselves for being bound to when OP-TEE firmware reports the related service is supported. OP-TEE services are discovered during optee driver probe sequence which mandates optee driver is always probe once bound. Discovery of optee services and binding to related U-Boot drivers is embedded upon configuration switch CONFIG_OPTEE_SERVICE_DISCOVERY. Cc: Jens Wiklander <jens.wiklander@linaro.org> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
50 lines
1.4 KiB
Text
50 lines
1.4 KiB
Text
# OP-TEE Trusted Execution Environment Configuration
|
|
config OPTEE
|
|
bool "OP-TEE"
|
|
depends on ARM_SMCCC
|
|
help
|
|
This implements the OP-TEE Trusted Execution Environment (TEE)
|
|
driver. OP-TEE is a Trusted OS designed primarily to rely on the
|
|
ARM TrustZone(R) technology as the underlying hardware isolation
|
|
mechanism. This driver can request services from OP-TEE, but also
|
|
handle Remote Procedure Calls (RPC) from OP-TEE needed to
|
|
execute a service. For more information see: https://www.op-tee.org
|
|
|
|
if OPTEE || SANDBOX
|
|
|
|
menu "OP-TEE options"
|
|
|
|
config OPTEE_TA_AVB
|
|
bool "Support AVB TA"
|
|
default y
|
|
help
|
|
Enables support for the AVB Trusted Application (TA) in OP-TEE.
|
|
The TA can support the "avb" subcommands "read_rb", "write"rb"
|
|
and "is_unlocked".
|
|
|
|
config OPTEE_TA_RPC_TEST
|
|
bool "Support RPC TEST TA"
|
|
depends on SANDBOX_TEE
|
|
default y
|
|
help
|
|
Enables support for RPC test trusted application emulation, which
|
|
permits to test reverse RPC calls to TEE supplicant. Should
|
|
be used only in sandbox env.
|
|
|
|
config OPTEE_TA_SCP03
|
|
bool "Support SCP03 TA"
|
|
default y
|
|
help
|
|
Enables support for controlling (enabling, provisioning) the
|
|
Secure Channel Protocol 03 operation in the OP-TEE SCP03 TA.
|
|
|
|
config OPTEE_SERVICE_DISCOVERY
|
|
bool "OP-TEE service discovery"
|
|
default y
|
|
help
|
|
This implements automated driver binding of OP-TEE service drivers by
|
|
requesting OP-TEE firmware to enumerate its hosted services.
|
|
|
|
endmenu
|
|
|
|
endif
|