Signed-off-by: Ting Liu <b28495@freescale.com>
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