summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2019-02-13 09:42:59 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-14 19:18:04 +0100
commit944acc24571c167cbd8b3f8b430fc3ff7e97581f (patch)
tree350a631efa4c2cf6a0b0f31c1f3953d20aa95127 /platforms
parent0b4b9e2d2df12f54ab73c39e1dfc1bcaefd4c420 (diff)
downloadptxdist-944acc24571c167cbd8b3f8b430fc3ff7e97581f.tar.gz
ptxdist-944acc24571c167cbd8b3f8b430fc3ff7e97581f.tar.xz
optee: add the OP-TEE as new target package
Provide two KConfig files to allow inclusion of OP-TEE for userspace libraries and applications. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/optee.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/platforms/optee.in b/platforms/optee.in
new file mode 100644
index 000000000..dc31f66c6
--- /dev/null
+++ b/platforms/optee.in
@@ -0,0 +1,40 @@
+## SECTION=bootloader
+
+menuconfig OPTEE
+ prompt "OP-TEE "
+ bool
+ depends on ARCH_ARM || ARCH_ARM64
+ depends on !ARCH_ARM64 || BROKEN
+ help
+ OP-TEE is an open source project which contains a full implementation
+ to make up a complete Trusted Execution Environment. The project has
+ roots in a proprietary solution, initially created by ST-Ericsson and
+ then owned and maintained by STMicroelectronics. In 2014, Linaro
+ started working with STMicroelectronics to transform the proprietary
+ TEE solution into an open source TEE solution instead.
+
+if OPTEE
+
+config OPTEE_PLATFORM
+ string
+ prompt "OP-TEE Platform"
+ help
+ Platform to use for OP-TEE.
+ i.e. imx for the NXP imx platform or vexpress for versatile express
+ platforms.
+
+config OPTEE_PLATFORM_FLAVOUR
+ string
+ prompt "OP-TEE Platform Flavour"
+ help
+ Platform Flavour for the selected platform, i.e. mx6qsabresd for the
+ imx platform.
+
+config OPTEE_CFG
+ string
+ prompt "OP-TEE CFG Flags"
+ help
+ Refer to the following file for the CFG_FLAGS:
+ https://github.com/OP-TEE/optee_os/blob/master/mk/config.mk
+
+endif