summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-04-21 05:52:25 +0000
committerStefano Babic <sbabic@denx.de>2013-05-05 17:45:05 +0200
commitcfb8e87a8e0997a2baecfa7f0cbe10fb9fa8e62e (patch)
tree913a54fc3eae6ee2a5bd0079d8c2053550fe003b /spl/Makefile
parentae3509dc32979b6b64c3ab59183a890d1038320d (diff)
downloadu-boot-imx-cfb8e87a8e0997a2baecfa7f0cbe10fb9fa8e62e.zip
u-boot-imx-cfb8e87a8e0997a2baecfa7f0cbe10fb9fa8e62e.tar.gz
u-boot-imx-cfb8e87a8e0997a2baecfa7f0cbe10fb9fa8e62e.tar.bz2
arm: mx5: Add SPL support code to MX5
Fix minor adjustments needed to get SPL framework building on MX5. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index da2dd0a..e4a0946 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -88,6 +88,10 @@ ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(C
LIBS-y += $(CPUDIR)/omap-common/libomap-common.o
endif
+ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35))
+LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o
+endif
+
ifneq ($(CONFIG_TEGRA),)
LIBS-y += arch/$(ARCH)/cpu/$(SOC)-common/lib$(SOC)-common.o
LIBS-y += arch/$(ARCH)/cpu/tegra-common/libcputegra-common.o