]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: add support for omap-common libraries
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Wed, 13 Jul 2011 05:11:09 +0000 (05:11 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jul 2011 12:44:42 +0000 (14:44 +0200)
Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
spl/Makefile

index 0a916bc41b8d10c2d2b687175bb00249832e6983..0204f97349310a65789fb7f7ef2f373cba11cae4 100644 (file)
@@ -47,6 +47,13 @@ LIBS-$(CONFIG_SPL_SPI_SUPPORT) += drivers/spi/libspi.o
 LIBS-$(CONFIG_SPL_FAT_SUPPORT) += fs/fat/libfat.o
 LIBS-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/libgeneric.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
+
 START := $(addprefix $(SPLTREE)/,$(START))
 LIBS := $(addprefix $(SPLTREE)/,$(sort $(LIBS-y)))