ARM: Build fix after Tegra14 K3.4 merge
[linux-3.10.git] / arch / arm / mach-tegra / Makefile
1 GCOV_PROFILE := y
2
3 asflags-y                               += -march=armv7-a
4 subdir-ccflags-y := -Werror
5
6 obj-y                                   += board-pinmux.o
7 obj-y                                   += ahb.o
8 obj-y                                   += common.o
9 obj-y                                   += devices.o
10 obj-y                                   += board-info.o
11 obj-y                                   += io.o
12 obj-y                                   += irq.o
13 obj-y                                   += clock.o
14 obj-y                                   += timer.o
15 obj-y                                   += timerinfo.o
16
17 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
18 obj-y                                   += common-t2.o
19 obj-y                                   += pm-t2.o
20 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t20.o
21 obj-y                                   += timer-t2.o
22 obj-y                                   += wakeups-t2.o
23 ifeq ($(CONFIG_CPU_IDLE),y)
24 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t2.o
25 endif
26 else
27 obj-y                                   += common-t3.o
28 obj-y                                   += pm-t3.o
29 obj-y                                   += sleep-t30.o
30 obj-$(CONFIG_DEBUG_FS)                  += clocks_stats.o
31 obj-y                                   += timer-t3.o
32 ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
33 obj-y                                   += wakeups-t3.o
34 else
35 obj-y                                   += wakeups-t11x.o
36 endif
37 ifeq ($(CONFIG_CPU_IDLE),y)
38 ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
39 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t3.o
40 else
41 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t11x.o
42 endif
43 endif
44 endif
45
46 obj-y                                   += pinmux.o
47 obj-y                                   += delay.o
48 obj-y                                   += pm.o
49 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
50 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
51 obj-y                                   += gic.o
52
53 obj-y                                   += sleep.o
54
55 plus_sec := $(call as-instr,.arch_extension sec,+sec)
56 AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
57
58 obj-y                                   += tegra_fuse.o
59 obj-y                                   += kfuse.o
60 obj-y                                   += csi.o
61 obj-y                                   += tegra_odm_fuses.o
62 obj-y                                   += powergate.o
63 obj-y                                   += apbio.o
64 obj-y                                   += mc.o
65 obj-$(CONFIG_USB_SUPPORT)               += tegra3_usb_phy.o
66 obj-$(CONFIG_USB_SUPPORT)               += tegra2_usb_phy.o
67 obj-$(CONFIG_USB_SUPPORT)               += tegra11x_usb_phy.o
68 obj-$(CONFIG_FIQ)                       += fiq.o
69 obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
70 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
71 obj-y                                   += dvfs.o
72 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_dvfs.o
73 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra11_dvfs.o
74 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
75 obj-$(CONFIG_TEGRA_LATENCY_ALLOWANCE)   += latency_allowance.o
76 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
77 obj-$(CONFIG_TEGRA_CORE_EDP_LIMITS)     += edp_core.o
78 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_edp.o
79 endif
80 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
81 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_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_14x_SOC)        += tegra11_emc.o
89 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-tegra20-tables.o
90 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-tegra30-tables.o
91 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += pinmux-t11-tables.o
92 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += pinmux-t14-tables.o
93 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra20_speedo.o
94 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra30_speedo.o
95 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
96 obj-y                                   += pmc.o
97 obj-y                                   += flowctrl.o
98 obj-$(CONFIG_CPU_IDLE)                  += cpuidle.o
99 obj-$(CONFIG_CPU_IDLE)                  += sleep.o
100 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_clocks.o
101 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra11_clocks.o
102 obj-$(CONFIG_SMP)                       += platsmp.o
103 obj-y                                   += reset.o
104 obj-y                                   += headsmp.o
105 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
106 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
107 ifeq ($(CONFIG_TEGRA_CPUQUIET),y)
108 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuquiet.o
109 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += cpuquiet.o
110 else
111 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpu-tegra3.o
112 endif
113 endif
114 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
115 ifeq ($(CONFIG_TEGRA_SOCTHERM),y)
116 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_soctherm.o
117 endif
118 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
119 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
120 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra3_throttle.o
121 endif
122 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
123 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
124 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
125 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
126 obj-$(CONFIG_TEGRA_USB_MODEM_POWER)     += tegra_usb_modem_power.o
127 obj-$(CONFIG_ARCH_TEGRA_HAS_CL_DVFS)    += tegra_cl_dvfs.o
128
129 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-dt-tegra20.o
130 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += board-dt-tegra30.o
131
132 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-harmony-pcie.o
133
134 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-paz00.o
135
136 obj-y                                   += board-common.o
137 obj-$(CONFIG_TEGRA_WAKEUP_MONITOR)      += tegra_wakeup_monitor.o
138
139 # MC error reporting.
140 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),)
141 obj-y                                   += mcerr.o
142 ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
143 obj-y                                   += mcerr-t3.o
144 else
145 obj-y                                   += mcerr-t11.o
146 endif
147 endif
148
149 obj-${CONFIG_MACH_CURACAO}              += board-curacao.o
150 obj-${CONFIG_MACH_CURACAO}              += board-curacao-panel.o
151 obj-${CONFIG_MACH_CURACAO}              += board-curacao-pinmux.o
152 obj-${CONFIG_MACH_CURACAO}              += board-curacao-power.o
153 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sdhci.o
154 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sensors.o
155 obj-${CONFIG_MACH_CURACAO}              += board-curacao-memory.o
156
157 obj-${CONFIG_MACH_KAI}                  += board-touch-kai-synaptics-spi.o
158 obj-y                                   += board-touch-raydium_spi.o
159
160 obj-${CONFIG_MACH_DALMORE}              += board-dalmore.o
161 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-memory.o
162 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-pinmux.o
163 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-power.o
164 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-powermon.o
165 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-sdhci.o
166 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-panel.o
167 obj-${CONFIG_MACH_DALMORE}              += board-roth-panel.o
168 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-kbc.o
169 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-sensors.o
170 obj-${CONFIG_MACH_DALMORE}              += panel-a-1080p-11-6.o
171 obj-${CONFIG_MACH_DALMORE}              += panel-p-wuxga-10-1.o
172 obj-${CONFIG_MACH_DALMORE}              += panel-s-wqxga-10-1.o
173
174 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto.o
175 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-memory.o
176 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-pinmux.o
177 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-power.o
178 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-sdhci.o
179 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-panel.o
180 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-kbc.o
181 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-sensors.o
182 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-powermon.o
183 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-l-720p-5.o
184 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-j-720p-4-7.o
185 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-s-1080p-5.o
186
187 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
188 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
189
190 obj-${CONFIG_TEGRA_ISOMGR}              += isomgr.o
191
192 obj-${CONFIG_TEGRA_NVDUMPER}            += nvdumper.o
193
194 obj-${CONFIG_MACH_ROTH}                 += board-roth.o
195 obj-${CONFIG_MACH_ROTH}                 += board-roth-memory.o
196 obj-${CONFIG_MACH_ROTH}                 += board-roth-pinmux.o
197 obj-${CONFIG_MACH_ROTH}                 += board-roth-power.o
198 obj-${CONFIG_MACH_ROTH}                 += board-roth-powermon.o
199 obj-${CONFIG_MACH_ROTH}                 += board-roth-sdhci.o
200 obj-${CONFIG_MACH_ROTH}                 += board-roth-panel.o
201 obj-${CONFIG_MACH_ROTH}                 += board-roth-kbc.o
202 obj-${CONFIG_MACH_ROTH}                 += board-roth-sensors.o
203 obj-${CONFIG_MACH_ROTH}                 += board-roth-fan.o