summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-04-23 17:59:28 +0200
committerStefan Agner <stefan@agner.ch>2014-04-24 16:07:54 +0200
commitf4c0dbdf79d56d9932ccb86664f4be1f4233adf1 (patch)
treee096a6de8f67d75a3f1557429c0498f4f188a5b7 /Makefile
parent92f30250da3f49a948f47210e58915325e90b7a5 (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 c91c10ed3a..63d79ba560 100644
--- a/Makefile
+++ b/Makefile
@@ -753,6 +753,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 $< $@