]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-keystone/config.mk
ARM: keystone2: Rename u-boot-nand.gph to MLO
[karo-tx-uboot.git] / arch / arm / mach-keystone / config.mk
index 3fcda9239890cfb66d9d127e1e141c212a9224ab..ff2fa6832766b03ac917cccd37637b300d224c1a 100644 (file)
@@ -15,8 +15,10 @@ OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO)
 u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE
        $(call if_changed,pad_cat)
 
-MKIMAGEFLAGS_u-boot-nand.gph = -A $(ARCH) -T gpimage -C none \
+ifndef CONFIG_SPL_BUILD
+MKIMAGEFLAGS_MLO = -A $(ARCH) -T gpimage -C none \
        -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) -n U-Boot
-u-boot-nand.gph: u-boot.bin FORCE
+MLO: u-boot.bin FORCE
        $(call if_changed,mkimage)
        @dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@
+endif