[4/8] arm-bsp/secure-partitions: corstone1000: add mbed-crypto and nanopb to platform code

Message ID 20211208135900.683-5-abdellatif.elkhlifi@arm.com
State New
Headers show
Series Corstone1000: MHU driver patchset | expand

Commit Message

Abdellatif El Khlifi Dec. 8, 2021, 1:58 p.m. UTC
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>

Moving dependencies to the BSP.

Change-Id: I32abd6c0568030550dda0442a2a4f624967b561c
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
 .../trusted-services/ts-corstone1000.inc        | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc b/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc
index 3fcdf82..36e2da4 100644
--- a/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc
+++ b/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc
@@ -2,8 +2,13 @@  FILESEXTRAPATHS:prepend := "${THISDIR}/secure-partitions:"
 
 COMPATIBLE_MACHINE = "corstone1000"
 
-SRCREV_ts = "882a2db4f9181fc6ddb505b82262f82e5a0c2fd5"
-SRC_URI:append = " file://0001-tools-cmake-common-applying-lowercase-project-convention.patch \
+LIC_FILES_CHKSUM += "file://../mbedcrypto/LICENSE;md5=302d50a6369f5f22efdb674db908167a \
+                                             file://../nanopb/LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"
+
+
+SRC_URI:append = " \
+                 ${SRC_URI_MBED} ${SRC_URI_NANOPB} \
+                  file://0001-tools-cmake-common-applying-lowercase-project-convention.patch \
                   file://0002-fix-EARLY_TA_PATHS-env-variable.patch \
                   file://0003-se-proxy-dts-add-se-proxy-as-child-node.patch \
                   file://0004-Update-mm-comm-buffer-region-in-dts-file.patch \
@@ -11,6 +16,14 @@  SRC_URI:append = " file://0001-tools-cmake-common-applying-lowercase-project-con
                   file://0006-Use-device-region.patch \
 		  "
 
+SRCREV_ts = "882a2db4f9181fc6ddb505b82262f82e5a0c2fd5"
+
+SRC_URI_MBED = "git://github.com/ARMmbed/mbed-crypto.git;protocol=https;branch=development;name=mbed;destsuffix=git/mbedcrypto"
+SRCREV_mbed = "cf4a40ba0a3086cabb5a8227245191161fd26383"
+
+SRC_URI_NANOPB = "git://github.com/nanopb/nanopb.git;name=nanopb;protocol=https;branch=master;destsuffix=git/nanopb"
+SRCREV_nanopb = "df0e92f474f9cca704fe2b31483f0b4d1b1715a4"
+
 TS_PLATFORM = "arm/fvp/fvp_base_revc-2xaemv8a"
 TS_ENVIRONMENT = "opteesp"
 SP_PACKAGING_METHOD = "embedded"