summaryrefslogtreecommitdiff
path: root/drivers/tee/optee
diff options
context:
space:
mode:
authorIgor Opaniuk <[email protected]>2021-01-25 14:28:42 +0200
committerTom Rini <[email protected]>2021-02-16 11:48:20 -0500
commit592b98bb9a65748799c6fd245cd990c8af80c2b6 (patch)
treed496a87b4a563e4b66a89c4fd922814124fb21a8 /drivers/tee/optee
parentf4a60b036308ca4a0a3ad08587b7f9b72d3565d5 (diff)
drivers: tee: sandbox: add rpc test ta emulation
This adds support for RPC test trusted application emulation, which permits to test reverse RPC calls to TEE supplicant. Currently it covers requests to the I2C bus from TEE. Signed-off-by: Igor Opaniuk <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Jens Wiklander <[email protected]> Acked-by: Etienne Carriere <[email protected]>
Diffstat (limited to 'drivers/tee/optee')
-rw-r--r--drivers/tee/optee/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/tee/optee/Kconfig b/drivers/tee/optee/Kconfig
index d489834df92..65622f30b1e 100644
--- a/drivers/tee/optee/Kconfig
+++ b/drivers/tee/optee/Kconfig
@@ -22,6 +22,15 @@ config OPTEE_TA_AVB
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.
+
endmenu
endif