aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-24 20:05:59 -0400
committerTony Lindgren <tony@atomide.com>2012-10-24 20:05:59 -0400
commit8634155ef41d3a035f2ea0b6c5bed2806f2788bc (patch)
tree6334a630abf196685803f17002fbf25d11babe17 /arch/arm/mach-omap2/Makefile
parent6d02643d64b4440394ee462ea4b870c8506cd9e7 (diff)
parent2bb2a5d30abb0dc99d074877bfad2056142c730b (diff)
Merge tag 'omap-cleanup-a-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into omap-for-v3.8/cleanup-prcm
The first set of OMAP PRM/CM-related cleanup patches for 3.8. Prepares for the future move of the PRM/CM code to drivers/. Also includes some prcm.[ch] cleanup patches from the WDTIMER cleanup series that don't need external acks. Basic test logs for this branch on top of v3.7-rc2 are here: http://www.pwsan.com/omap/testlogs/prcm_cleanup_a_3.8/20121021123719/ But due to the number of unrelated regressions present in v3.7-rc[12], it's not particularly usable as a testing base. With reverts, fixes, and workarounds applied as documented in: http://www.pwsan.com/omap/testlogs/test_v3.7-rc2/20121020134755/README.txt the following test logs were obtained: http://www.pwsan.com/omap/testlogs/prcm_cleanup_a_3.8/20121020231757/ which indicate that the series tests cleanly. Conflicts: arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/clockdomain2xxx_3xxx.c arch/arm/mach-omap2/pm24xx.c
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile110
1 files changed, 60 insertions, 50 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 46d9071f0938..ae87a3ea53ae 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -7,28 +7,34 @@ obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
7 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ 7 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
8 omap_device.o 8 omap_device.o
9 9
10# INTCPS IP block support - XXX should be moved to drivers/ 10omap-2-3-common = irq.o
11obj-$(CONFIG_ARCH_OMAP2) += irq.o 11hwmod-common = omap_hwmod.o \
12obj-$(CONFIG_ARCH_OMAP3) += irq.o 12 omap_hwmod_common_data.o
13obj-$(CONFIG_SOC_AM33XX) += irq.o 13clock-common = clock.o clock_common_data.o \
14 14 clkt_dpll.o clkt_clksel.o
15# Secure monitor API support 15secure-common = omap-smc.o omap-secure.o
16obj-$(CONFIG_ARCH_OMAP3) += omap-smc.o omap-secure.o 16
17obj-$(CONFIG_ARCH_OMAP4) += omap-smc.o omap-secure.o 17obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
18obj-$(CONFIG_SOC_OMAP5) += omap-smc.o omap-secure.o 18obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
19obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common)
20obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common)
21obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common)
19 22
20ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) 23ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
21obj-y += mcbsp.o 24obj-y += mcbsp.o
22endif 25endif
23 26
24obj-$(CONFIG_TWL4030_CORE) += omap_twl.o 27obj-$(CONFIG_TWL4030_CORE) += omap_twl.o
28obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
25 29
26# SMP support ONLY available for OMAP4 30# SMP support ONLY available for OMAP4
27 31
28obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o 32obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
29obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o 33obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
30obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o 34omap-4-5-common = omap4-common.o omap-wakeupgen.o \
31obj-$(CONFIG_SOC_OMAP5) += omap4-common.o omap-wakeupgen.o 35 sleep44xx.o
36obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common)
37obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common)
32 38
33plus_sec := $(call as-instr,.arch_extension sec,+sec) 39plus_sec := $(call as-instr,.arch_extension sec,+sec)
34AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) 40AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
@@ -53,7 +59,6 @@ obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
53# SMS/SDRC 59# SMS/SDRC
54obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o 60obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
55# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o 61# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
56obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o
57 62
58# OPP table initialization 63# OPP table initialization
59ifeq ($(CONFIG_PM_OPP),y) 64ifeq ($(CONFIG_PM_OPP),y)
@@ -64,15 +69,15 @@ endif
64 69
65# Power Management 70# Power Management
66ifeq ($(CONFIG_PM),y) 71ifeq ($(CONFIG_PM),y)
67obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o sleep24xx.o 72obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
73obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
68obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o 74obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
69obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o 75obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
70obj-$(CONFIG_ARCH_OMAP4) += sleep44xx.o 76obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o
71obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o sleep44xx.o
72obj-$(CONFIG_PM_DEBUG) += pm-debug.o 77obj-$(CONFIG_PM_DEBUG) += pm-debug.o
73 78
74obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o 79obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
75obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o 80obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
76 81
77AFLAGS_sleep24xx.o :=-Wa,-march=armv6 82AFLAGS_sleep24xx.o :=-Wa,-march=armv6
78AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) 83AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
@@ -84,76 +89,82 @@ endif
84endif 89endif
85 90
86ifeq ($(CONFIG_CPU_IDLE),y) 91ifeq ($(CONFIG_CPU_IDLE),y)
87obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o 92obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
88obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o 93obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
89endif 94endif
90 95
91# PRCM 96# PRCM
92obj-y += prcm.o prm_common.o 97obj-y += prcm.o prm_common.o cm_common.o
93obj-$(CONFIG_ARCH_OMAP2) += cm2xxx_3xxx.o prm2xxx_3xxx.o 98obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o
94obj-$(CONFIG_ARCH_OMAP3) += cm2xxx_3xxx.o prm2xxx_3xxx.o 99obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o
95obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o 100obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
96obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o 101obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o
97omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \ 102omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \
98 prcm_mpu44xx.o prminst44xx.o \ 103 prcm_mpu44xx.o prminst44xx.o \
99 vc44xx_data.o vp44xx_data.o \ 104 vc44xx_data.o vp44xx_data.o
100 prm44xx.o
101obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) 105obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)
102obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) 106obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
103 107
104# OMAP voltage domains 108# OMAP voltage domains
105obj-y += voltage.o vc.o vp.o 109voltagedomain-common := voltage.o vc.o vp.o
110obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common)
106obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o 111obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o
112obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common)
107obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o 113obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o
114obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common)
108obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o 115obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o
109obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o 116obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
117obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o
118obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common)
110 119
111# OMAP powerdomain framework 120# OMAP powerdomain framework
112obj-y += powerdomain.o powerdomain-common.o 121powerdomain-common += powerdomain.o powerdomain-common.o
122obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common)
113obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o 123obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o
114obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o
115obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o 124obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o
116obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o 125obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common)
117obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o 126obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o
118obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o 127obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o
119obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o 128obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common)
120obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o 129obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o
121obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o 130obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common)
122obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o 131obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o
123obj-$(CONFIG_SOC_OMAP5) += powerdomain44xx.o 132obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common)
124 133
125# PRCM clockdomain control 134# PRCM clockdomain control
126obj-y += clockdomain.o 135clockdomain-common += clockdomain.o
127obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o 136obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
128obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o 137obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o
129obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o 138obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o
130obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o 139obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o
131obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o 140obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
132obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o 141obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o
133obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o 142obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o
134obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o 143obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
135obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o 144obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o
136obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o 145obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
137obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o 146obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o
138obj-$(CONFIG_SOC_OMAP5) += clockdomain44xx.o 147obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common)
139 148
140# Clock framework 149# Clock framework
141obj-y += clock.o clock_common_data.o \ 150obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
142 clkt_dpll.o clkt_clksel.o 151obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
143obj-$(CONFIG_ARCH_OMAP2) += clock2xxx.o 152obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
144obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o clkt2xxx_sys.o
145obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o 153obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
146obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o 154obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
147obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o 155obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
148obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o 156obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
149obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o 157obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
150obj-$(CONFIG_ARCH_OMAP3) += clock3xxx.o 158obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
151obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o 159obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
152obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o clkt_iclk.o 160obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
153obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o 161obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o
154obj-$(CONFIG_ARCH_OMAP4) += clock44xx_data.o 162obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
163obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o
155obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o 164obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
156obj-$(CONFIG_SOC_AM33XX) += dpll3xxx.o clock33xx_data.o 165obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
166obj-$(CONFIG_SOC_AM33XX) += clock33xx_data.o
167obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
157obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o 168obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
158 169
159# OMAP2 clock rate set data (old "OPP" data) 170# OMAP2 clock rate set data (old "OPP" data)
@@ -161,7 +172,6 @@ obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
161obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o 172obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
162 173
163# hwmod data 174# hwmod data
164obj-y += omap_hwmod_common_data.o
165obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o 175obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
166obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o 176obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
167obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o 177obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
@@ -207,10 +217,10 @@ obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
207obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o 217obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o
208obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o 218obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
209obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o 219obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o
210obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o 220obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o
211obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o 221obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o
212obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o 222obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o
213obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o 223obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o
214obj-$(CONFIG_MACH_ENCORE) += board-omap3encore.o 224obj-$(CONFIG_MACH_ENCORE) += board-omap3encore.o
215obj-$(CONFIG_MACH_OVERO) += board-overo.o 225obj-$(CONFIG_MACH_OVERO) += board-overo.o
216obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o 226obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o