ARM: tegra: resolve compilation time warnings
[linux-2.6.git] / arch / arm / mach-tegra / Makefile
1 GCOV_PROFILE := y
2
3 subdir-ccflags-y := -Werror
4
5 obj-y                                   += board-pinmux.o
6 obj-y                                   += ahb.o
7 obj-y                                   += common.o
8 obj-y                                   += devices.o
9 obj-y                                   += board-info.o
10 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += common-t2.o
11 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += common-t3.o
12 obj-y                                   += io.o
13 obj-y                                   += irq.o
14 obj-y                                   += clock.o
15 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_clocks.o
16 obj-y                                   += timer.o
17 obj-y                                   += timerinfo.o
18 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
19 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t2.o
20 else
21 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t3.o
22 endif
23
24 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
25 obj-y                                   += common-t2.o
26 obj-y                                   += pm-t2.o
27 obj-y                                   += sleep-t2.o
28 obj-y                                   += timer-t2.o
29 obj-y                                   += wakeups-t2.o
30 else
31 obj-y                                   += common-t3.o
32 obj-y                                   += pm-t3.o
33 obj-y                                   += sleep-t3.o
34 obj-y                                   += timer-t3.o
35 obj-y                                   += wakeups-t3.o
36 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
37 obj-y                                   += cpu-tegra3.o
38 endif
39 endif
40
41 obj-y                                   += pinmux.o
42 obj-y                                   += delay.o
43 obj-y                                   += pm.o
44 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
45 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
46 obj-y                                   += gic.o
47
48 obj-y                                   += sleep.o
49
50 plus_sec := $(call as-instr,.arch_extension sec,+sec)
51 AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
52
53 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t2.o
54 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += sleep-t3.o
55 obj-y                                   += fuse.o
56 obj-y                                   += kfuse.o
57 obj-y                                   += csi.o
58 obj-y                                   += tegra_odm_fuses.o
59 obj-y                                   += i2c_error_recovery.o
60 obj-y                                   += mc.o
61 obj-$(CONFIG_TEGRA_STAT_MON)            += tegra2_statmon.o
62 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
63 obj-$(CONFIG_USB_SUPPORT)               += tegra3_usb_phy.o
64 obj-$(CONFIG_USB_SUPPORT)               += tegra2_usb_phy.o
65 obj-$(CONFIG_USB_SUPPORT)               += tegra11x_usb_phy.o
66 obj-$(CONFIG_FIQ)                       += fiq.o
67 obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
68 obj-$(CONFIG_TEGRA_PWM)                 += pwm.o
69 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
70 obj-y                                   += powergate.o
71 obj-y                                   += dvfs.o
72 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_dvfs.o
73 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
74 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_dvfs.o
75 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_dvfs.o
76 obj-y                                   += latency_allowance.o
77 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
78 endif
79 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
80 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_speedo.o
81 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_speedo.o
82 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_actmon.o
83 endif
84 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra3_actmon.o
85 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_emc.o
86 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_emc.o
87 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_emc.o
88 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += wakeups-t2.o
89 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += wakeups-t3.o
90 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pm-t2.o
91 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pm-t3.o
92 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-tegra20-tables.o
93 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-tegra30-tables.o
94 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += board-dt-tegra30.o
95 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += pinmux-t11-tables.o
96 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
97 obj-y                                   += pmc.o
98 obj-y                                   += flowctrl.o
99 obj-$(CONFIG_CPU_IDLE)                  += cpuidle.o
100 obj-$(CONFIG_CPU_IDLE)                  += sleep.o
101 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_clocks.o
102 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra30_clocks.o
103 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_clocks.o
104 obj-$(CONFIG_SMP)                       += platsmp.o headsmp.o
105 obj-$(CONFIG_SMP)                       += reset.o
106 obj-$(CONFIG_TEGRA_SYSTEM_DMA)          += dma.o apbio.o
107 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
108 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
109 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
110 ifeq ($(CONFIG_CPU_IDLE),y)
111 ifeq ($(CONFIG_PM_SLEEP),y)
112 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += cpuidle-t2.o
113 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
114 endif
115 endif
116 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
117 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_throttle.o
118 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
119 endif
120 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_thermal.o
121 obj-$(CONFIG_TEGRA_IOVMM)               += iovmm.o
122 obj-$(CONFIG_TEGRA_IOVMM_GART)          += iovmm-gart.o
123 obj-$(CONFIG_TEGRA_IOVMM_SMMU)          += iovmm-smmu.o
124 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
125 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
126 ifeq ($(CONFIG_TEGRA_MC_PROFILE),y)
127 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_mc.o
128 endif
129 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
130 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
131 obj-$(CONFIG_TEGRA_USB_MODEM_POWER)     += tegra_usb_modem_power.o
132 obj-$(CONFIG_ARCH_TEGRA_HAS_CL_DVFS)    += tegra_cl_dvfs.o
133
134 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
135 obj-$(CONFIG_MACH_HARMONY)              += board-harmony.o
136 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-kbc.o
137 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-panel.o
138 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-pinmux.o
139 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-pcie.o
140 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-power.o
141
142 obj-$(CONFIG_MACH_PAZ00)                += board-paz00.o
143 obj-$(CONFIG_MACH_PAZ00)                += board-paz00-pinmux.o
144
145 obj-$(CONFIG_MACH_SEABOARD)             += board-seaboard.o
146 obj-$(CONFIG_MACH_SEABOARD)             += board-seaboard-pinmux.o
147
148 obj-$(CONFIG_MACH_TEGRA_DT)             += board-dt-tegra20.o
149 obj-$(CONFIG_MACH_TEGRA_DT)             += board-harmony-pinmux.o
150 obj-$(CONFIG_MACH_TEGRA_DT)             += board-seaboard-pinmux.o
151 obj-$(CONFIG_MACH_TEGRA_DT)             += board-paz00-pinmux.o
152 obj-$(CONFIG_MACH_TEGRA_DT)             += board-trimslice-pinmux.o
153
154 obj-$(CONFIG_MACH_TRIMSLICE)            += board-trimslice.o
155 obj-$(CONFIG_MACH_TRIMSLICE)            += board-trimslice-pinmux.o
156
157 obj-${CONFIG_MACH_P852}                 += p852/
158
159 obj-$(CONFIG_MACH_VENTANA)              += board-ventana.o
160 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-pinmux.o
161 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-sdhci.o
162 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-power.o
163 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-panel.o
164 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-sensors.o
165 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-memory.o
166
167 obj-${CONFIG_MACH_ARUBA}                += board-aruba.o
168 obj-${CONFIG_MACH_ARUBA}                += board-aruba-panel.o
169 obj-${CONFIG_MACH_ARUBA}                += board-aruba-pinmux.o
170 obj-${CONFIG_MACH_ARUBA}                += board-aruba-power.o
171 obj-${CONFIG_MACH_ARUBA}                += board-aruba-sdhci.o
172 obj-${CONFIG_MACH_ARUBA}                += board-aruba-sensors.o
173
174 obj-${CONFIG_MACH_CURACAO}              += board-curacao.o
175 obj-${CONFIG_MACH_CURACAO}              += board-curacao-panel.o
176 obj-${CONFIG_MACH_CURACAO}              += board-curacao-pinmux.o
177 obj-${CONFIG_MACH_CURACAO}              += board-curacao-power.o
178 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sdhci.o
179 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sensors.o
180
181 obj-${CONFIG_MACH_WHISTLER}             += board-whistler.o
182 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-pinmux.o
183 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-sdhci.o
184 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-power.o
185 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-panel.o
186 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-sensors.o
187 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-kbc.o
188 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-baseband.o
189 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-memory.o
190
191 obj-${CONFIG_MACH_CARDHU}               += board-cardhu.o
192 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-kbc.o
193 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-panel.o
194 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pinmux.o
195 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-power.o
196 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pm298-power-rails.o
197 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pm299-power-rails.o
198 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-sdhci.o
199 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-sensors.o
200 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-memory.o
201 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-powermon.o
202
203 obj-${CONFIG_MACH_KAI}                  += board-touch-kai-synaptics-spi.o
204 obj-y                                   += board-touch-raydium_spi.o
205
206 obj-${CONFIG_MACH_P1852}               += board-p1852.o
207 obj-${CONFIG_MACH_P1852}               += board-p1852-panel.o
208 obj-${CONFIG_MACH_P1852}               += board-p1852-pinmux.o
209 obj-${CONFIG_MACH_P1852}               += board-p1852-sdhci.o
210
211 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise.o
212 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-panel.o
213 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-pinmux.o
214 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-sdhci.o
215 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-memory.o
216 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-power.o
217 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-baseband.o
218 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-kbc.o
219 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-sensors.o
220
221 obj-${CONFIG_MACH_KAI}                  += board-kai.o
222 obj-${CONFIG_MACH_KAI}                  += board-kai-kbc.o
223 obj-${CONFIG_MACH_KAI}                  += board-kai-memory.o
224 obj-${CONFIG_MACH_KAI}                  += board-kai-panel.o
225 obj-${CONFIG_MACH_KAI}                  += board-kai-pinmux.o
226 obj-${CONFIG_MACH_KAI}                  += board-kai-power.o
227 obj-${CONFIG_MACH_KAI}                  += board-kai-sdhci.o
228 obj-${CONFIG_MACH_KAI}                  += board-kai-sensors.o
229 obj-y                                   += eeprom-wifi-mac.o
230
231 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
232 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
233