u-boot images can be deployed to SD using boot-format on target
board. This method can leave the SD partition not destoryed.
For bug ENGR179814.
Signed-off-by: Ting Liu <b28495@freescale.com>
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
-PR = "r14"
+PR = "r15"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc"
[ "${MACHINE_ARCH}" == "p3060qds" ] || \
[ "${MACHINE_ARCH}" == "p4080ds" ] || \
[ "${MACHINE_ARCH}" == "p5020ds" ] || \
+ [ "${UBOOT_TARGET}" == "u-boot-sd" ] || \
[ "${UBOOT_TARGET}" == "u-boot-nand" ]; then
cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin
else