[meta-freescale] [meta-fsl-arm][PATCH 10/41] u-boot-qoriq: copy right binary for nor/secure_boot

ting.liu at nxp.com ting.liu at nxp.com
Fri Jun 24 03:41:05 PDT 2016


From: Ting Liu <ting.liu at nxp.com>

Signed-off-by: Ting Liu <ting.liu at nxp.com>
---
 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
index 284d30a..d58b442 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
@@ -32,6 +32,10 @@ do_compile_append () {
                 j=`expr $j + 1`;
                 if [ $j -eq $i ]; then
                     case "${config}" in
+                        *SECURE*|*SECBOOT*)
+                            :;;
+                        *nor*)
+                            cp ${config}/u-boot-dtb.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
                         *nand* | *sdcard*)
                             cp ${config}/u-boot-with-spl-pbl.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
                         *spi*) 
-- 
1.9.2



More information about the meta-freescale mailing list