summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2011-08-18 22:37:20 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:16 +0200
commit98a48c5de545e5a5eedba0a868024ef0d4ae5347 (patch)
treeaa90ed0dd8651582fd46a0aae248e48f8418140a /spl
parentb9a1ef219e12c08b2af695dd5355d6352b8ffc08 (diff)
downloadu-boot-imx-98a48c5de545e5a5eedba0a868024ef0d4ae5347.zip
u-boot-imx-98a48c5de545e5a5eedba0a868024ef0d4ae5347.tar.gz
u-boot-imx-98a48c5de545e5a5eedba0a868024ef0d4ae5347.tar.bz2
ORIGEN: Add MMC SPL support
Adds mmc boot support. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 87f13f6..95ecce1 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -93,8 +93,18 @@ endif
ALL-y += $(obj)u-boot-spl.bin
+ifdef CONFIG_SAMSUNG
+ALL-y += $(obj)$(BOARD)-spl.bin
+endif
+
all: $(ALL-y)
+ifdef CONFIG_SAMSUNG
+$(obj)$(BOARD)-spl.bin: $(obj)u-boot-spl.bin
+ $(TOPDIR)/board/$(BOARDDIR)/tools/mk$(BOARD)spl.exe \
+ $(obj)u-boot-spl.bin $(obj)$(BOARD)-spl.bin
+endif
+
$(obj)u-boot-spl.bin: $(obj)u-boot-spl
$(OBJCOPY) $(OBJCFLAGS) -O binary $< $@