summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-10-10 21:11:44 +0000
committerStefano Babic <sbabic@denx.de>2012-10-26 16:27:59 +0200
commita80834c064bb54fbdf56c97e3f31967baf88dec4 (patch)
tree3f5b1fd9f60697f913b4671d97d555364b238eeb /spl
parentd41924a2c15cd969f29e0cf6ec0a211525b16ad8 (diff)
downloadu-boot-imx-a80834c064bb54fbdf56c97e3f31967baf88dec4.zip
u-boot-imx-a80834c064bb54fbdf56c97e3f31967baf88dec4.tar.gz
u-boot-imx-a80834c064bb54fbdf56c97e3f31967baf88dec4.tar.bz2
SPL: Added SPL target for mx35 SOC to SPL Makefile
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 92267d6..58ef40a 100644
--- a/spl/Makefile
+++ b/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