Browse Source

SPL: Added SPL target for mx35 SOC to SPL Makefile

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 12 years ago
parent
commit
a80834c064
1 changed files with 6 additions and 0 deletions
  1. 6 0
      spl/Makefile

+ 6 - 0
spl/Makefile

@@ -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