OMAP4: clock-common: Move the usb dppl configuration to new func
[oweals/u-boot.git] / arch / arm / cpu / armv7 / omap-common / Makefile
index ea2545dca8f530dffa9ce2842015be3b6bb91598..3f7a0b25f0d39db46c0b8ff9263066e792adfd1f 100644 (file)
@@ -33,10 +33,14 @@ 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
+endif
+
+ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
+COBJS  += boot-common.o
 SOBJS  += lowlevel_init.o
 endif
 
@@ -51,7 +55,7 @@ endif
 endif
 
 ifndef CONFIG_SPL_BUILD
-ifdef CONFIG_OMAP44XX
+ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
 COBJS  += mem-common.o
 endif
 endif