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