From: Ting Liu Date: Tue, 29 Oct 2013 06:21:04 +0000 (+0800) Subject: u-boot: use spl version for sd and spi image X-Git-Tag: 2.1~534^2~198 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3dcd4c00ee3fef292a0fcbcacc70f5d8539b5eef;p=meta-freescale.git u-boot: use spl version for sd and spi image Signed-off-by: Ting Liu --- 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 bfd2d79c..2b6f1a01 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 () { if echo $board |egrep -q "(P1010RDB|P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB|BSC913)";then UBOOT_SOURCE=u-boot-with-spl fi + elif [ "${UBOOT_TARGET}" = "u-boot-spi" ];then + if echo $board |egrep -q "(P1020RDB|P1021RDB|P2020RDB|P1022DS)";then + UBOOT_SOURCE=u-boot-with-spl + fi + elif [ "${UBOOT_TARGET}" = "u-boot-sd" ];then + if echo $board |egrep -q "(P1020RDB|P1021RDB|P2020RDB|P1022DS)";then + UBOOT_SOURCE=u-boot-with-spl + fi fi cp ${S}/${board}/${UBOOT_SOURCE}.bin ${S}/${board}/${UBOOT_TARGET}.bin