summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-12-28 20:43:21 +0100
committerFabio Estevam <[email protected]>2025-12-29 10:17:01 -0300
commit253a96ffb66a931f72a3e8ace0fcb5ec87e0e4e5 (patch)
tree4d8cf63abdedfafae17b831d29f3dfe5278d9b04 /arch
parentf0109936060973ca56be78d0c29681d13686ad4d (diff)
Makefile: Make flash.bin target available on i.MX9
The current implementation of flash.bin generation with CONFIG_SPL_LOAD_IMX_CONTAINER=y requires build of u-boot.cnt which is i.MX8 specific. Reinstate the i.MX8 check to avoid this dependency for i.MX9 . Fill in flash.bin target for i.MX9 into imx specific Makefile. Fixes: c3587197c0c9 ("Makefile: Make flash.bin target available for all platforms") Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 1efe690e876..0f6e737c0b9 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -226,6 +226,9 @@ ifeq ($(CONFIG_ARCH_IMX9)$(CONFIG_ARCH_IMX8ULP), y)
ifneq ($(and $(CONFIG_BINMAN),$(or $(CONFIG_IMX95),$(CONFIG_IMX94))),)
SPL: spl/u-boot-spl.bin FORCE
$(call if_changed,mkimage)
+
+flash.bin: spl/u-boot-spl.bin FORCE
+ $(call if_changed,mkimage)
else
quiet_cmd_cpp_cfg_imx9_check = CHECK $@
cmd_cpp_cfg_imx9_check = $(CPP) $(cpp_flags) -D__ASSEMBLY__ -x c -o $@ $< && $(srctree)/tools/imx9_image.sh $@