]> git.sur5r.net Git - u-boot/commitdiff
SPL: Added SPL target for mx35 SOC to SPL Makefile
authorStefano Babic <sbabic@denx.de>
Wed, 10 Oct 2012 21:11:44 +0000 (21:11 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 26 Oct 2012 14:27:59 +0000 (16:27 +0200)
Signed-off-by: Stefano Babic <sbabic@denx.de>
spl/Makefile

index 92267d6deaacf1d3c2fef84b6e1f777d684b5603..58ef40ac0140c0668317d1eeaa3f11b4d0978c0d 100644 (file)
@@ -123,6 +123,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