[U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile

Stefano Babic
2012-09-06T08:04:58Z

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
spl/Makefile | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/spl/Makefile b/spl/Makefile
index f96c08e..77fc405 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -109,6 +109,12 @@ $(OBJTREE)/MLO: $(obj)u-boot-spl.bin
-a $(CONFIG_SPL_TEXT_BASE) -d $< $@
endif

+ifneq ($(CONFIG_IMX_CONFIG),)
+$(OBJTREE)/MLO: $(obj)u-boot-spl.bin
+ $(OBJTREE)/tools/mkimage -n $(SRCTREE)/$(CONFIG_IMX_CONFIG) -T imximage \
+ -e $(CONFIG_SPL_TEXT_BASE) -d $< $@
+endif
+
ALL-y += $(obj)u-boot-spl.bin

ifdef CONFIG_SAMSUNG
--
1.7.9.5