optee: Add lib entries for sharing OPTEE code across ports
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 13 Mar 2018 16:50:27 +0000 (16:50 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 19 Mar 2018 20:14:23 +0000 (16:14 -0400)
commit32ce6179fb99544fa9d7348e4641ccdf6c1e6067
tree20e3729866df4646bbfeaa109e2ad67ee3663e10
parent5cf32518eaaa49d12584fc86777e30f8b91db7ad
optee: Add lib entries for sharing OPTEE code across ports

This patch adds code to lib to enable sharing of useful OPTEE code between
board-ports and architectures. The code on lib/optee/optee.c comes from the
TI omap2 port. Eventually the OMAP2 code will be patched to include the
shared code. The intention here is to add more useful OPTEE specific code
as more functionality gets added.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Harinarayan Bhatta <harinarayan@ti.com>
Cc: Andrew F. Davis <afd@ti.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Peng Fan <peng.fan@nxp.com>
Tested-by: Peng Fan <peng.fan@nxp.com>
include/tee/optee.h
lib/Kconfig
lib/Makefile
lib/optee/Kconfig [new file with mode: 0644]
lib/optee/Makefile [new file with mode: 0644]
lib/optee/optee.c [new file with mode: 0644]