summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-16 09:50:12 +0200
committerStefan Agner <stefan@agner.ch>2015-04-14 09:08:09 +0200
commit55380b56efef3f3bb1dc9c128c3ce2be56e653a3 (patch)
tree8e36cf08e8d8fe8cd33ab19d819e9750e9817400 /Makefile
parentc31a8b2bdb47dc8fa71c259423bd8fed840b8a25 (diff)
imx: add u-boot-nand.imx target
Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid, this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 950c960fe6..645499d179 100644
--- a/Makefile
+++ b/Makefile
@@ -813,6 +813,9 @@ u-boot-dtb.bin: u-boot.bin dts/dt.dtb FORCE
%.imx: %.bin
$(Q)$(MAKE) $(build)=arch/arm/imx-common $@
+u-boot-nand.imx: u-boot.bin
+ $(Q)$(MAKE) $(build)=arch/arm/imx-common $@
+
quiet_cmd_copy = COPY $@
cmd_copy = cp $< $@