]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-sd: skip using boot-format to regenerate images
authorTing Liu <b28495@freescale.com>
Fri, 20 Apr 2012 10:11:21 +0000 (10:11 +0000)
committerZhenhua Luo <b19537@freescale.com>
Mon, 23 Apr 2012 01:56:05 +0000 (09:56 +0800)
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>
meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb

index 5060741bfda088354222b47ce207f5c24c31e498..1b256dadfc8e2f0bd98fa3220db558d57372f67c 100644 (file)
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader"
 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"
 
@@ -55,6 +55,7 @@ do_compile () {
                                [ "${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