Patchwork [U-Boot,v2,4/6] SPL: Added SPL target for mx35 SOC to SPL Makefile

login
register
mail settings
Submitter Stefano Babic
Date Oct. 11, 2012, 7:11 a.m.
Message ID <1349939506-4109-5-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/190823/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Stefano Babic - Oct. 11, 2012, 7:11 a.m.
Signed-off-by: Stefano Babic <sbabic@denx.de>
---

 spl/Makefile |    6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/spl/Makefile b/spl/Makefile
index d9b1c2f..fab953a 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -118,6 +118,12 @@  $(OBJTREE)/MLO:	$(obj)u-boot-spl.bin
 		-a $(CONFIG_SPL_TEXT_BASE) -d $< $@
 endif
 
+ifneq ($(CONFIG_IMX_CONFIG),)
+$(OBJTREE)/SPL:	$(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