diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2021-07-21 17:45:21 +0200 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2021-10-18 11:44:23 +0200 |
commit | 4615e5a34b95e0d81467f6d2176f19a5d184cb5d (patch) | |
tree | 2db8ba20e6b45468ae3ee7b79d97a92bdc2fe8f9 /drivers/tee/optee/Makefile | |
parent | optee: isolate smc abi (diff) | |
download | linux-4615e5a34b95e0d81467f6d2176f19a5d184cb5d.tar.xz linux-4615e5a34b95e0d81467f6d2176f19a5d184cb5d.zip |
optee: add FF-A support
Adds support for using FF-A [1] as transport to the OP-TEE driver.
Introduces struct optee_msg_param_fmem which carries all information
needed when OP-TEE is calling FFA_MEM_RETRIEVE_REQ to get the shared
memory reference mapped by the hypervisor in S-EL2. Register usage is
also updated to include the information needed.
The FF-A part of this driver is enabled if CONFIG_ARM_FFA_TRANSPORT is
enabled.
[1] https://developer.arm.com/documentation/den0077/latest
Acked-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee/optee/Makefile')
-rw-r--r-- | drivers/tee/optee/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tee/optee/Makefile b/drivers/tee/optee/Makefile index 97ac3ab3e1c0..66b8a17f14c4 100644 --- a/drivers/tee/optee/Makefile +++ b/drivers/tee/optee/Makefile @@ -6,6 +6,7 @@ optee-objs += rpc.o optee-objs += supp.o optee-objs += device.o optee-objs += smc_abi.o +optee-objs += ffa_abi.o # for tracing framework to find optee_trace.h CFLAGS_smc_abi.o := -I$(src) |