drivers: tee: sandbox: add rpc test ta emulation
authorIgor Opaniuk <igor.opaniuk@foundries.io>
Mon, 25 Jan 2021 12:28:42 +0000 (14:28 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Feb 2021 16:48:20 +0000 (11:48 -0500)
commit592b98bb9a65748799c6fd245cd990c8af80c2b6
treed496a87b4a563e4b66a89c4fd922814124fb21a8
parentf4a60b036308ca4a0a3ad08587b7f9b72d3565d5
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 <igor.opaniuk@foundries.io>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
drivers/tee/Makefile
drivers/tee/optee/Kconfig
drivers/tee/sandbox.c
include/tee/optee_ta_rpc_test.h [new file with mode: 0644]