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@toradex.com>2014-10-16 16:49:43 +0200
commit393fb8a1c434dca96eb01a641412c8214c357a27 (patch)
tree2bc07df8d2edd30f78a3b2c2b35d8fd2aa877722 /Makefile
parent9b9e6ef0b0e117241e1a89e0e92e096c6ac91613 (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 99097e1e57..b704a3ff55 100644
--- a/Makefile
+++ b/Makefile
@@ -786,6 +786,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 $< $@