cc59807ca8a30fc6df215fcd72087ac6d4e8aaf6
[linux-3.10.git] / arch / arm / mach-tegra / Makefile
1 GCOV_PROFILE := y
2
3 asflags-y                               += -march=armv7-a
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-y                                   += timer.o
16 obj-y                                   += timerinfo.o
17 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
18 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t2.o
19 else
20 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t3.o
21 endif
22
23 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
24 obj-y                                   += common-t2.o
25 obj-y                                   += pm-t2.o
26 obj-y                                   += sleep-t2.o
27 obj-y                                   += timer-t2.o
28 obj-y                                   += wakeups-t2.o
29 else
30 obj-y                                   += common-t3.o
31 obj-y                                   += pm-t3.o
32 obj-y                                   += sleep-t30.o
33 obj-y                                   += timer-t3.o
34 obj-y                                   += wakeups-t3.o
35 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
36 obj-y                                   += cpu-tegra3.o
37 endif
38 endif
39
40 obj-y                                   += pinmux.o
41 obj-y                                   += delay.o
42 obj-y                                   += pm.o
43 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
44 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
45 obj-y                                   += gic.o
46 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t2.o
47 obj-y                                   += tegra_fuse.o
48 obj-y                                   += kfuse.o
49 obj-y                                   += csi.o
50 obj-y                                   += tegra_odm_fuses.o
51 obj-y                                   += powergate.o
52 obj-y                                   += apbio.o
53 obj-y                                   += mc.o
54 obj-$(CONFIG_USB_SUPPORT)               += tegra3_usb_phy.o
55 obj-$(CONFIG_USB_SUPPORT)               += tegra2_usb_phy.o
56 obj-$(CONFIG_FIQ)                       += fiq.o
57 obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
58 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
59 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
60 obj-y                                   += dvfs.o
61 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_dvfs.o
62 obj-y                                   += latency_allowance.o
63 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
64 endif
65 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
66 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_speedo.o
67 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_actmon.o
68 endif
69 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_emc.o
70 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_emc.o
71 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_emc.o
72 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t20.o
73 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += wakeups-t2.o
74 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += wakeups-t3.o
75 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pm-t2.o
76 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pm-t3.o
77 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-tegra20-tables.o
78 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-tegra30-tables.o
79 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += pinmux-t11-tables.o
80 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra20_speedo.o
81 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra30_speedo.o
82 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
83 obj-y                                   += pmc.o
84 obj-y                                   += flowctrl.o
85 obj-$(CONFIG_CPU_IDLE)                  += cpuidle.o
86 obj-$(CONFIG_CPU_IDLE)                  += sleep.o
87 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_clocks.o
88 obj-$(CONFIG_SMP)                       += platsmp.o
89 obj-y                                   += reset.o
90 obj-y                                   += headsmp.o
91 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
92 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
93 ifeq ($(CONFIG_CPU_IDLE),y)
94 ifeq ($(CONFIG_PM_SLEEP),y)
95 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += cpuidle-t2.o
96 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
97 endif
98 endif
99 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
100 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
101 endif
102 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_thermal.o
103 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
104 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
105 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
106 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
107 obj-$(CONFIG_TEGRA_USB_MODEM_POWER)     += tegra_usb_modem_power.o
108 obj-$(CONFIG_ARCH_TEGRA_HAS_CL_DVFS)    += tegra_cl_dvfs.o
109
110 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-dt-tegra20.o
111 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += board-dt-tegra30.o
112
113 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-harmony-pcie.o
114
115 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-paz00.o
116
117 obj-${CONFIG_MACH_CURACAO}              += board-curacao.o
118 obj-${CONFIG_MACH_CURACAO}              += board-curacao-panel.o
119 obj-${CONFIG_MACH_CURACAO}              += board-curacao-pinmux.o
120 obj-${CONFIG_MACH_CURACAO}              += board-curacao-power.o
121 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sdhci.o
122 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sensors.o
123
124 obj-${CONFIG_MACH_KAI}                  += board-touch-kai-synaptics-spi.o
125 obj-y                                   += board-touch-raydium_spi.o
126
127 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
128 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
129