]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - spl/Makefile
Merge git://git.denx.de/u-boot
[karo-tx-uboot.git] / spl / Makefile
index 3195390b2ff63e1bd1419d0918d2ac726a0673cd..6a79c3cd38f052079106271a109c288c0d574665 100644 (file)
@@ -120,6 +120,12 @@ $(OBJTREE)/MLO.byteswap: $(obj)u-boot-spl.bin
        $(OBJTREE)/tools/mkimage -T omapimage -n byteswap \
                -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
 
+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