summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorChandan Nath <chandan.nath@ti.com>2012-01-09 20:38:59 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-01-16 08:40:12 +0100
commit8a8f084e4ffa0e2357790cd92b69301eaeb2834d (patch)
treef29a8f6bb0d33ec4041d64f761623f4215fe8417 /spl
parent876bdd6d460cfcb7dc3b3c52291e20d322a939d5 (diff)
downloadu-boot-imx-8a8f084e4ffa0e2357790cd92b69301eaeb2834d.zip
u-boot-imx-8a8f084e4ffa0e2357790cd92b69301eaeb2834d.tar.gz
u-boot-imx-8a8f084e4ffa0e2357790cd92b69301eaeb2834d.tar.bz2
ARM:AM33XX: Add SPL support for AM335X EVM
This patch is added to support SPL feature on AM335X platform. In this patch, MMC1 is configured as boot device for SPL and support for other devices will be added in the next patch series. Signed-off-by: Chandan Nath <chandan.nath@ti.com> Signed-off-by: Tom Rini <trini@ti.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 6ac42a2..3262e22 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -58,13 +58,7 @@ LIBS-$(CONFIG_SPL_ONENAND_SUPPORT) += drivers/mtd/onenand/libonenand.o
LIBS-$(CONFIG_SPL_DMA_SUPPORT) += drivers/dma/libdma.o
LIBS-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/memory.o
-ifeq ($(SOC),omap3)
-LIBS-y += $(CPUDIR)/omap-common/libomap-common.o
-endif
-ifeq ($(SOC),omap4)
-LIBS-y += $(CPUDIR)/omap-common/libomap-common.o
-endif
-ifeq ($(SOC),omap5)
+ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
LIBS-y += $(CPUDIR)/omap-common/libomap-common.o
endif
@@ -104,6 +98,11 @@ $(OBJTREE)/MLO: $(obj)u-boot-spl.bin
$(OBJTREE)/tools/mkimage -T omapimage \
-a $(CONFIG_SPL_TEXT_BASE) -d $< $@
endif
+ifdef CONFIG_AM33XX
+$(OBJTREE)/MLO: $(obj)u-boot-spl.bin
+ $(OBJTREE)/tools/mkimage -T omapimage \
+ -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
+endif
ALL-y += $(obj)u-boot-spl.bin