From dbd6cb6bd7ff98ed97a018027dd442b9eb43d6ee Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 29 May 2020 11:16:11 +0200 Subject: [PATCH] imx-boot: fix build ccimx8x images with trustfence support Commit 3fbd38ca ("imx-boot: build ccimx8x images for B0 and C0 silicon revisions") added support to build images for B0 and C0 revisions, forgetting include this support on trustfence builds. Signed-off-by: Arturo Buzarra --- meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend index 742d1e047..0c30f4f23 100644 --- a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend +++ b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend @@ -215,7 +215,9 @@ do_deploy_append () { trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-signed.bin else for ramc in ${UBOOT_RAM_COMBINATIONS}; do - trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${ramc}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${ramc}-signed.bin + for rev in ${SOC_REVISIONS}; do + trustfence-sign-uboot.sh ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${rev}-${ramc}.bin ${DEPLOYDIR}/${UBOOT_PREFIX}-${MACHINE}-${rev}-${ramc}-signed.bin + done done fi