OMAP3+: reset: Create a common reset layer.
[oweals/u-boot.git] / arch / arm / cpu / armv7 / omap-common / Makefile
index ea2545dca8f530dffa9ce2842015be3b6bb91598..2a6625f1c4d0deb742ab0aa9846f82eecc278584 100644 (file)
@@ -33,10 +33,15 @@ ifdef CONFIG_OMAP
 COBJS  += gpio.o
 endif
 
-ifdef CONFIG_OMAP44XX
+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
 
@@ -48,10 +53,13 @@ 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
-ifdef CONFIG_OMAP44XX
+ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
 COBJS  += mem-common.o
 endif
 endif