Skip to contentSkip to conversation

arm-bsp/optee-os-tadevkit: total-compute: Add optee-os-tadevkit

PATCH New Ben Horgan 1 participant 1 message Jan 7, 2022

lore
Share & tools
lore

Ben Horgan

author
#0 lore raw

PATCH 1/1 arm-bsp/optee-os-tadevkit: total-compute: Add optee-os-tadevkit

The optee-os recipe was recently split into optee-os and optee-os-tadevkit.

Change-Id Id9794b7c4a7e2f3fac4286498fa44c35fd8aaa0b
---
 .../optee/optee-os-generic-tc.inc             | 20 +++++++++++++++++++
 .../optee/optee-os-tadevkit_3.14.0.bbappend   |  6 ++++++
 .../recipes-security/optee/optee-os-tc.inc    | 18 +----------------
 3 files changed, 27 insertions(+), 17 deletions(-)
 create mode 100644 meta-arm-bsp/recipes-security/optee/optee-os-generic-tc.inc
 create mode 100644 meta-arm-bsp/recipes-security/optee/optee-os-tadevkit_3.14.0.bbappend
meta-arm-bsp/recipes-security/optee/optee-os-generic-tc.inc new file +20 -0
new file mode 100644
index 0000000..da6a06f
@@ -0,0 +1,20 @@
+# Total Compute (tc) specific configuration for optee-os and optee-os-tadevkit
+
+# Intermediate SHA with 3.14 baseline version
+# This has TC0 platform support
+SRCREV = "e4f34e786135079160697d88212591105a65fbce"
+PV = "3.14.0+git${SRCPV}"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/files/optee-os/tc:"
+SRC_URI:append:tc = " \
+    file://sp_layout.json \
+    file://0001-WIP-Enable-managed-exit.patch \
+    file://0002-plat-totalcompute-Update-messaging-method-for-manage.patch \
+    file://0003-ffa-Update-function-ID-according-to-FFA-v1.1-spec.patch \
+    "
+
+COMPATIBLE_MACHINE = "(tc?)"
+
+OPTEEMACHINE:tc0 = "totalcompute-tc0"
+OPTEEMACHINE:tc1 = "totalcompute-tc1"
+
meta-arm-bsp/recipes-security/optee/optee-os-tadevkit_3.14.0.bbappend new file +6 -0
new file mode 100644
index 0000000..6a22d47
@@ -0,0 +1,6 @@
+# Machine specific configurations
+
+MACHINE_OPTEE_OS_TADEVKIT_REQUIRE ?= ""
+MACHINE_OPTEE_OS_TADEVKIT_REQUIRE:tc = "optee-os-generic-tc.inc"
+
+require ${MACHINE_OPTEE_OS_TADEVKIT_REQUIRE}
meta-arm-bsp/recipes-security/optee/optee-os-tc.inc +1 -17
index bd6c638..7936652 100644
@@ -1,22 +1,6 @@
 # TC0 specific configuration
 
-# Intermediate SHA with 3.14 baseline version
-# This has TC0 platform support
-SRCREV = "e4f34e786135079160697d88212591105a65fbce"
-PV = "3.14.0+git${SRCPV}"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/files/optee-os/tc:"
-SRC_URI:append:tc = " \
-    file://sp_layout.json \
-    file://0001-WIP-Enable-managed-exit.patch \
-    file://0002-plat-totalcompute-Update-messaging-method-for-manage.patch \
-    file://0003-ffa-Update-function-ID-according-to-FFA-v1.1-spec.patch \
-    "
-
-COMPATIBLE_MACHINE = "(tc?)"
-
-OPTEEMACHINE:tc0 = "totalcompute-tc0"
-OPTEEMACHINE:tc1 = "totalcompute-tc1"
+require optee-os-generic-tc.inc
 
 # Enable optee memory layout and boot logs
 EXTRA_OEMAKE += " CFG_TEE_CORE_LOG_LEVEL=3"
Signature · 1 line
2.17.1