summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-11-20 10:19:46 +0000
committerStefano Babic <sbabic@denx.de>2019-01-01 14:12:18 +0100
commit94df98859663265348a7a8de5a079d82e5dab131 (patch)
tree124a0e9693dcac0431bfd2d9832e432d01ba120e /Makefile
parentdfbc296a8592ad5ad8d96bf58571cd56f0c0a9b9 (diff)
imx: imx8mq: build flash.bin
Build flash.bin for i.MX8MQ, it will include signed hdmi firmware, spl, ddr firmware, fit image(bl31.bin, u-boot-nodtb.bin, dtb). Burn it to 33KB offset of SD card. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 19d7343fde..fe41a5fe92 100644
--- a/Makefile
+++ b/Makefile
@@ -1208,6 +1208,11 @@ tpl/u-boot-with-tpl.bin: tpl/u-boot-tpl.bin u-boot.bin FORCE
SPL: spl/u-boot-spl.bin FORCE
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
+ifeq ($(CONFIG_ARCH_IMX8M), y)
+flash.bin: spl/u-boot-spl.bin u-boot.itb FORCE
+ $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@
+endif
+
u-boot-with-spl.imx u-boot-with-nand-spl.imx: SPL u-boot.bin FORCE
$(Q)$(MAKE) $(build)=arch/arm/mach-imx $@