summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-16 09:50:12 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2017-01-11 17:44:03 +0100
commit58a95a13ea342e98aa84f79595d05e8be08214a5 (patch)
treef93559cdd09d8907adee6b9452a6b2609fc9b0be /Makefile
parent17fd771bd124e3030929ee0d63609eb8658495b6 (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 and i.MX 7, this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. [ported to v2016.11] Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8ca1db57d4..e12c1cf512 100644
--- a/Makefile
+++ b/Makefile
@@ -852,6 +852,9 @@ endif
%.vyb: %.imx
$(Q)$(MAKE) $(build)=arch/arm/cpu/armv7/vf610 $@
+u-boot-nand.imx: u-boot.bin
+ $(Q)$(MAKE) $(build)=arch/arm/imx-common $@
+
quiet_cmd_copy = COPY $@
cmd_copy = cp $< $@