aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile24
1 files changed, 19 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index bdfd400b4996..b779ddd86faf 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -17,6 +17,7 @@ obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) 17obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common) 18obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
19obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) 19obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common)
20obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common)
20 21
21ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) 22ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
22obj-y += mcbsp.o 23obj-y += mcbsp.o
@@ -29,8 +30,10 @@ obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
29 30
30obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o 31obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
31obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o 32obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
32obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o 33omap-4-5-common = omap4-common.o omap-wakeupgen.o \
33obj-$(CONFIG_ARCH_OMAP4) += sleep44xx.o 34 sleep44xx.o
35obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common)
36obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common)
34 37
35plus_sec := $(call as-instr,.arch_extension sec,+sec) 38plus_sec := $(call as-instr,.arch_extension sec,+sec)
36AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) 39AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
@@ -69,6 +72,7 @@ obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
69obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o 72obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
70obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o 73obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
71obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o 74obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
75obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o
72obj-$(CONFIG_PM_DEBUG) += pm-debug.o 76obj-$(CONFIG_PM_DEBUG) += pm-debug.o
73obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o 77obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o
74obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o 78obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
@@ -88,14 +92,16 @@ obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
88endif 92endif
89 93
90# PRCM 94# PRCM
95omap-prcm-4-5-common = prcm.o cminst44xx.o cm44xx.o \
96 prcm_mpu44xx.o prminst44xx.o \
97 vc44xx_data.o vp44xx_data.o
91obj-y += prm_common.o 98obj-y += prm_common.o
92obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o 99obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
93obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o 100obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
94obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o 101obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
95obj-$(CONFIG_ARCH_OMAP4) += prcm.o cminst44xx.o cm44xx.o
96obj-$(CONFIG_ARCH_OMAP4) += prcm_mpu44xx.o prminst44xx.o
97obj-$(CONFIG_ARCH_OMAP4) += vc44xx_data.o vp44xx_data.o prm44xx.o
98obj-$(CONFIG_SOC_AM33XX) += prcm.o prm33xx.o cm33xx.o 102obj-$(CONFIG_SOC_AM33XX) += prcm.o prm33xx.o cm33xx.o
103obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) prm44xx.o
104obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
99 105
100# OMAP voltage domains 106# OMAP voltage domains
101voltagedomain-common := voltage.o vc.o vp.o 107voltagedomain-common := voltage.o vc.o vp.o
@@ -107,6 +113,7 @@ obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
107obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o 113obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
108obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common) 114obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
109obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o 115obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o
116obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common)
110 117
111# OMAP powerdomain framework 118# OMAP powerdomain framework
112powerdomain-common += powerdomain.o powerdomain-common.o 119powerdomain-common += powerdomain.o powerdomain-common.o
@@ -124,6 +131,8 @@ obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
124obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common) 131obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common)
125obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o 132obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o
126obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o 133obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
134obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common)
135obj-$(CONFIG_SOC_OMAP5) += powerdomain44xx.o
127 136
128# PRCM clockdomain control 137# PRCM clockdomain control
129clockdomain-common += clockdomain.o 138clockdomain-common += clockdomain.o
@@ -142,6 +151,8 @@ obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
142obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common) 151obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
143obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o 152obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o
144obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o 153obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
154obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common)
155obj-$(CONFIG_SOC_OMAP5) += clockdomain44xx.o
145 156
146# Clock framework 157# Clock framework
147obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o 158obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
@@ -160,6 +171,8 @@ obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
160obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o 171obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o
161obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o 172obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
162obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o 173obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
174obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
175obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
163 176
164# OMAP2 clock rate set data (old "OPP" data) 177# OMAP2 clock rate set data (old "OPP" data)
165obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o 178obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
@@ -187,6 +200,7 @@ obj-$(CONFIG_OMAP3_EMU) += emu.o
187# L3 interconnect 200# L3 interconnect
188obj-$(CONFIG_ARCH_OMAP3) += omap_l3_smx.o 201obj-$(CONFIG_ARCH_OMAP3) += omap_l3_smx.o
189obj-$(CONFIG_ARCH_OMAP4) += omap_l3_noc.o 202obj-$(CONFIG_ARCH_OMAP4) += omap_l3_noc.o
203obj-$(CONFIG_SOC_OMAP5) += omap_l3_noc.o
190 204
191obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o 205obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
192mailbox_mach-objs := mailbox.o 206mailbox_mach-objs := mailbox.o