0704064c9bef9d0c5a6d23d1ee8abfee4458c318
[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-y                                   += timer-t2.o
19 else
20 ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
21 obj-y                                   += timer-t3.o
22 else
23 obj-y                                   += tegra11_clocks.o
24 endif
25 endif
26 obj-y                                   += pinmux.o
27 obj-y                                   += delay.o
28 obj-y                                   += pm.o
29 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
30 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
31 obj-y                                   += gic.o
32 obj-y                                   += tegra_fuse.o
33 obj-y                                   += kfuse.o
34 obj-y                                   += csi.o
35 obj-$(CONFIG_TEGRA_SILICON_PLATFORM)    += tegra_odm_fuses.o
36 obj-y                                   += pmc.o
37 obj-y                                   += flowctrl.o
38 obj-y                                   += powergate.o
39 obj-y                                   += apbio.o
40 ifeq ($(CONFIG_CPU_IDLE),y)
41 obj-y                                   += cpuidle.o
42 ifeq ($(CONFIG_PM_SLEEP),y)
43 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += cpuidle-t2.o
44 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
45 endif
46 endif
47 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
48 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
49 endif
50 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_thermal.o
51 obj-y                                   += sleep.o
52 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t2.o
53 obj-y                                   += mc.o
54 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
55 obj-$(CONFIG_USB_SUPPORT)               += tegra3_usb_phy.o
56 obj-$(CONFIG_USB_SUPPORT)               += tegra2_usb_phy.o
57 obj-$(CONFIG_FIQ)                       += fiq.o
58 obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
59 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
60 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
61 obj-y                                   += dvfs.o
62 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += 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_ARCH_TEGRA_3x_SOC)         += sleep-t30.o
83 obj-$(CONFIG_SMP)                       += platsmp.o
84 obj-y                                   += reset.o
85 obj-y                                   += headsmp.o
86 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
87 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
88 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
89 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpu-tegra3.o
90 endif
91 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
92 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
93 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
94 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
95 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
96 obj-$(CONFIG_TEGRA_USB_MODEM_POWER)     += tegra_usb_modem_power.o
97
98 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-dt-tegra20.o
99 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += board-dt-tegra30.o
100
101 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-harmony-pcie.o
102
103 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-paz00.o
104
105 obj-${CONFIG_MACH_KAI}                  += board-touch-kai-synaptics-spi.o
106 obj-y                                   += board-touch-raydium_spi.o
107
108 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
109 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
110