summaryrefslogtreecommitdiffstats
path: root/recipes-security
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-05-12 17:29:02 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2022-05-12 17:37:45 -0500
commit5956fb99eb99866425f163c7083dc3a28c87e0f8 (patch)
tree7feb6ac787cf0d2ef1c440054c5a9772911fcb0e /recipes-security
parent7c4ab1f1f22780090c9b7b202c8a15142409d6bd (diff)
downloadmeta-freescale-5956fb99eb99866425f163c7083dc3a28c87e0f8.tar.gz
optee-os: Upgrade to NXP 5.15.5-1.0.0
- Drop patch 0001-arm-imx-fix-RPMB-header-include.patch that is now upstream - Update platform list - Fix hard-coded /usr/include with includedir variable Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-security')
-rw-r--r--recipes-security/optee-imx/optee-os/0001-arm-imx-fix-RPMB-header-include.patch29
-rw-r--r--recipes-security/optee-imx/optee-os_3.15.0.imx.bb14
2 files changed, 7 insertions, 36 deletions
diff --git a/recipes-security/optee-imx/optee-os/0001-arm-imx-fix-RPMB-header-include.patch b/recipes-security/optee-imx/optee-os/0001-arm-imx-fix-RPMB-header-include.patch
deleted file mode 100644
index 469802e8..00000000
--- a/recipes-security/optee-imx/optee-os/0001-arm-imx-fix-RPMB-header-include.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From d965393256e32a93dae41765543523598fca5d00 Mon Sep 17 00:00:00 2001
2From: Clement Faure <clement.faure@nxp.com>
3Date: Mon, 7 Mar 2022 10:21:04 -0600
4Subject: [PATCH] arm: imx: fix RPMB header include
5
6Replace <drivers/imx_snvs.h> by <drivers/nxp_snvs.h>
7
8Upstream-Status: Backport from NXP 5.15.5-1.0.0
9Signed-off-by: Clement Faure <clement.faure@nxp.com>
10---
11 core/arch/arm/plat-imx/imx_rpmb.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/core/arch/arm/plat-imx/imx_rpmb.c b/core/arch/arm/plat-imx/imx_rpmb.c
15index 9f0eb384d..2dd41105e 100644
16--- a/core/arch/arm/plat-imx/imx_rpmb.c
17+++ b/core/arch/arm/plat-imx/imx_rpmb.c
18@@ -2,7 +2,7 @@
19 /*
20 * Copyright 2020 Pengutronix, Rouven Czerwinski <entwicklung@pengutronix.de>
21 */
22-#include <drivers/imx_snvs.h>
23+#include <drivers/nxp_snvs.h>
24 #include <imx.h>
25 #include <tee/tee_fs.h>
26
27--
282.17.1
29
diff --git a/recipes-security/optee-imx/optee-os_3.15.0.imx.bb b/recipes-security/optee-imx/optee-os_3.15.0.imx.bb
index 3fca3dbf..15244c45 100644
--- a/recipes-security/optee-imx/optee-os_3.15.0.imx.bb
+++ b/recipes-security/optee-imx/optee-os_3.15.0.imx.bb
@@ -8,13 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173"
8 8
9DEPENDS = "python3-pycryptodomex-native python3-pyelftools-native u-boot-mkimage-native" 9DEPENDS = "python3-pycryptodomex-native python3-pyelftools-native u-boot-mkimage-native"
10 10
11SRCBRANCH = "lf-5.10.72_2.2.0" 11SRCBRANCH = "lf-5.15.5_1.0.0"
12SRC_URI = "\ 12SRC_URI = "git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=https;branch=${SRCBRANCH}"
13 git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=https;branch=${SRCBRANCH} \
14 file://0001-arm-imx-fix-RPMB-header-include.patch \
15"
16 13
17SRCREV = "c939619d64dea014ad1b8382356eee4d1cbfbb22" 14SRCREV = "807629a0889ad5e888f1fd187932ab7f701ddf8c"
18 15
19S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
20 17
@@ -34,11 +31,14 @@ PLATFORM_FLAVOR:imx6ulz = "mx6ulzevk"
34PLATFORM_FLAVOR:mx8mq-nxp-bsp = "mx8mqevk" 31PLATFORM_FLAVOR:mx8mq-nxp-bsp = "mx8mqevk"
35PLATFORM_FLAVOR:mx8mm-nxp-bsp = "mx8mmevk" 32PLATFORM_FLAVOR:mx8mm-nxp-bsp = "mx8mmevk"
36PLATFORM_FLAVOR:mx8mn-nxp-bsp = "mx8mnevk" 33PLATFORM_FLAVOR:mx8mn-nxp-bsp = "mx8mnevk"
34PLATFORM_FLAVOR:mx8mnul-nxp-bsp = "mx8mnevk"
37PLATFORM_FLAVOR:mx8mp-nxp-bsp = "mx8mpevk" 35PLATFORM_FLAVOR:mx8mp-nxp-bsp = "mx8mpevk"
36PLATFORM_FLAVOR:mx8mpul-nxp-bsp = "mx8mpevk"
38PLATFORM_FLAVOR:mx8qm-nxp-bsp = "mx8qmmek" 37PLATFORM_FLAVOR:mx8qm-nxp-bsp = "mx8qmmek"
39PLATFORM_FLAVOR:mx8qxp-nxp-bsp = "mx8qxpmek" 38PLATFORM_FLAVOR:mx8qxp-nxp-bsp = "mx8qxpmek"
40PLATFORM_FLAVOR:mx8dx-nxp-bsp = "mx8dxmek" 39PLATFORM_FLAVOR:mx8dx-nxp-bsp = "mx8dxmek"
41PLATFORM_FLAVOR:mx8dxl-nxp-bsp = "mx8dxlevk" 40PLATFORM_FLAVOR:mx8dxl-nxp-bsp = "mx8dxlevk"
41PLATFORM_FLAVOR:mx8ulp-nxp-bsp = "mx8ulpevk"
42 42
43OPTEE_ARCH ?= "arm32" 43OPTEE_ARCH ?= "arm32"
44OPTEE_ARCH:armv7a = "arm32" 44OPTEE_ARCH:armv7a = "arm32"
@@ -97,7 +97,7 @@ addtask deploy after do_compile before do_install
97 97
98 98
99FILES:${PN} = "${nonarch_base_libdir}/firmware/ ${nonarch_base_libdir}/optee_armtz/" 99FILES:${PN} = "${nonarch_base_libdir}/firmware/ ${nonarch_base_libdir}/optee_armtz/"
100FILES:${PN}-staticdev = "/usr/include/optee/" 100FILES:${PN}-staticdev = "${includedir}/optee/"
101RDEPENDS:${PN}-dev += "${PN}-staticdev" 101RDEPENDS:${PN}-dev += "${PN}-staticdev"
102 102
103PACKAGE_ARCH = "${MACHINE_ARCH}" 103PACKAGE_ARCH = "${MACHINE_ARCH}"