]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap-common/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-microblaze
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / Makefile
index 0b96b4789f085fa4a633b49c51ffb6246b179a98..2a6625f1c4d0deb742ab0aa9846f82eecc278584 100644 (file)
@@ -29,7 +29,21 @@ SOBJS        := reset.o
 
 COBJS  := timer.o
 COBJS  += utils.o
+ifdef CONFIG_OMAP
 COBJS  += gpio.o
+endif
+
+ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
+COBJS  += hwinit-common.o
+COBJS  += clocks-common.o
+COBJS  += emif-common.o
+COBJS  += vc.o
+endif
+
+ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
+COBJS  += boot-common.o
+SOBJS  += lowlevel_init.o
+endif
 
 ifdef CONFIG_SPL_BUILD
 COBJS  += spl.o
@@ -39,6 +53,15 @@ endif
 ifdef CONFIG_SPL_MMC_SUPPORT
 COBJS  += spl_mmc.o
 endif
+ifdef CONFIG_SPL_YMODEM_SUPPORT
+COBJS  += spl_ymodem.o
+endif
+endif
+
+ifndef CONFIG_SPL_BUILD
+ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
+COBJS  += mem-common.o
+endif
 endif
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)