arm64: Tegra210: Cleanup tegra21_emc_init()
[linux-3.10.git] / arch / arm64 / mach-tegra / Makefile
1 GCOV_PROFILE := y
2
3 # Reference the mach-tegra from arch/arm for now
4 ccflags-y += -I$(srctree)/arch/arm/mach-tegra/include \
5              -I$(srctree)/arch/arm/mach-tegra
6 asflags-y += -I$(srctree)/arch/arm/mach-tegra/include \
7              -I$(srctree)/arch/arm/mach-tegra
8 subdir-ccflags-y := -Werror
9
10 # Assemblies
11 obj-y += reset-handler.o trampoline.o
12
13 obj-$(CONFIG_SMP) += platsmp.o
14
15 # Temp board files (should be gone when we go DT)
16
17 obj-y                   += panel-lgd-wxga-7-0.o
18 obj-y                   += panel-p-wuxga-10-1.o
19 obj-y                   += panel-s-wqxga-10-1.o
20 obj-y                   += panel-a-1200-800-8-0.o
21 obj-y                   += panel-a-1200-1920-8-0.o
22 obj-y                   += panel-a-edp-1080p-14-0.o
23 obj-y                   += panel-i-edp-1080p-11-6.o
24 obj-y                   += panel-c-lvds-1366-14.o
25 obj-y                   += panel-a-1080p-14-0.o
26 obj-y                   += panel-j-1440-810-5-8.o
27 obj-y                   += panel-c-edp-1366-768-14-0.o
28
29 obj-${CONFIG_MACH_LOKI}               += board-loki-power.o
30 obj-${CONFIG_MACH_LOKI}               += board-loki-memory.o
31 obj-${CONFIG_MACH_LOKI}               += board-loki-sdhci.o
32 obj-${CONFIG_MACH_LOKI}               += board-loki-sensors.o
33 obj-${CONFIG_MACH_LOKI}               += board-loki-kbc.o
34 obj-${CONFIG_MACH_LOKI}               += board-loki-panel.o
35 obj-${CONFIG_MACH_LOKI}               += panel-l-720p-5-loki.o
36 obj-${CONFIG_MACH_LOKI}               += panel-j-720p-5.o
37
38
39 obj-${CONFIG_MACH_T132REF}              += board-t132ref.o
40 obj-${CONFIG_MACH_T132REF}              += board-t132ref-laguna-power.o
41 obj-${CONFIG_MACH_T132REF}              += board-t132ref-memory.o
42 obj-${CONFIG_MACH_T132REF}              += board-t132ref-sensors.o
43 obj-${CONFIG_MACH_T132REF}              += board-t132ref-norrin-power.o
44 obj-${CONFIG_MACH_T132REF}              += board-t132ref-norrin-memory.o
45 obj-${CONFIG_MACH_T132REF}              += board-t132ref-power.o
46 obj-${CONFIG_MACH_T132REF}              += board-t132ref-sdhci.o
47 obj-${CONFIG_MACH_T132REF}              += board-t132ref-sysedp.o
48 obj-${CONFIG_MACH_T132REF}              += board-t132ref-tn8-sysedp.o
49 obj-${CONFIG_MACH_T132REF}              += panel-a-1080p-11-6.o
50 obj-${CONFIG_MACH_T132REF}              += panel-s-edp-uhdtv-15-6.o
51 obj-${CONFIG_MACH_T132REF}              += panel-s-edp-wqxgap-15-6.o
52
53 obj-y                                   += board-touch-maxim_sti-spi.o
54
55 ifeq ($(CONFIG_HOTPLUG_CPU),y)
56 obj-$(CONFIG_DENVER_CPU)              += hotplug-denver.o
57 endif
58
59 obj-$(CONFIG_DENVER_CPU)              += denver-knobs.o
60 obj-$(CONFIG_DENVER_CPU)              += denver-hardwood.o
61
62 obj-${CONFIG_ARCH_TEGRA_21x_SOC}      += board-t210ref.o
63 obj-${CONFIG_ARCH_TEGRA_21x_SOC}      += board-t210ref-thermal.o
64 obj-${CONFIG_ARCH_TEGRA_21x_SOC}      += board-t210ref-camera.o
65 obj-${CONFIG_ARCH_TEGRA_21x_SOC}      += tegra21_init.o
66
67 ifeq ($(CONFIG_PM_SLEEP),y)
68 obj-y                                 += pm.o
69 obj-y                                 += sleep.o
70 obj-$(CONFIG_ARCH_TEGRA_13x_SOC)      += pm-tegra132.o
71 endif
72
73 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
74
75 # To override the "-march=armv7-xxx" in arm/mach-tegra/Makefile
76 AFLAGS_sleep.o :=