summaryrefslogtreecommitdiffstats
path: root/meta-fsl-ppc
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-10-29 14:21:04 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2014-01-12 18:06:01 +0800
commit3dcd4c00ee3fef292a0fcbcacc70f5d8539b5eef (patch)
tree6856dff4c9efdbe8d56b1087949fb227e0a87616 /meta-fsl-ppc
parent423137ea3e94ad6281dd14467076f4d308006edd (diff)
downloadmeta-freescale-3dcd4c00ee3fef292a0fcbcacc70f5d8539b5eef.tar.gz
u-boot: use spl version for sd and spi image
Signed-off-by: Ting Liu <b28495@freescale.com>
Diffstat (limited to 'meta-fsl-ppc')
-rw-r--r--meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb b/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb
index bfd2d79cf..2b6f1a01e 100644
--- a/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb
+++ b/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb
@@ -85,6 +85,14 @@ do_compile () {
85 if echo $board |egrep -q "(P1010RDB|P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB|BSC913)";then 85 if echo $board |egrep -q "(P1010RDB|P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB|BSC913)";then
86 UBOOT_SOURCE=u-boot-with-spl 86 UBOOT_SOURCE=u-boot-with-spl
87 fi 87 fi
88 elif [ "${UBOOT_TARGET}" = "u-boot-spi" ];then
89 if echo $board |egrep -q "(P1020RDB|P1021RDB|P2020RDB|P1022DS)";then
90 UBOOT_SOURCE=u-boot-with-spl
91 fi
92 elif [ "${UBOOT_TARGET}" = "u-boot-sd" ];then
93 if echo $board |egrep -q "(P1020RDB|P1021RDB|P2020RDB|P1022DS)";then
94 UBOOT_SOURCE=u-boot-with-spl
95 fi
88 fi 96 fi
89 cp ${S}/${board}/${UBOOT_SOURCE}.bin ${S}/${board}/${UBOOT_TARGET}.bin 97 cp ${S}/${board}/${UBOOT_SOURCE}.bin ${S}/${board}/${UBOOT_TARGET}.bin
90 98