xref: /linux/arch/arm/mach-imx/Makefile (revision f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae)
1obj-y := cpu.o system.o irq-common.o
2
3obj-$(CONFIG_SOC_IMX21) += mm-imx21.o
4
5obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
6
7obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
8obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o
9
10obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o
11obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o
12
13imx5-pm-$(CONFIG_PM) += pm-imx5.o
14obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y)
15
16obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
17obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
18
19obj-$(CONFIG_MXC_TZIC) += tzic.o
20obj-$(CONFIG_MXC_AVIC) += avic.o
21
22obj-$(CONFIG_MXC_USE_EPIT) += epit.o
23obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
24
25ifeq ($(CONFIG_CPU_IDLE),y)
26obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
27obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
28obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
29obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
30obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o
31endif
32
33ifdef CONFIG_SND_IMX_SOC
34obj-y += ssi-fiq.o
35endif
36
37# i.MX21 based machines
38obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
39
40# i.MX27 based machines
41obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
42obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
43obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
44obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
45obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o
46
47# i.MX31 based machines
48obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
49obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
50obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
51obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
52obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o
53obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o
54obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
55		mx31moboard-marxbot.o mx31moboard-smartbot.o
56obj-$(CONFIG_MACH_QONG) += mach-qong.o
57obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
58obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
59obj-$(CONFIG_MACH_BUG) += mach-bug.o
60obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o
61
62# i.MX35 based machines
63obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
64obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
65obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
66obj-$(CONFIG_MACH_IMX35_DT) += imx35-dt.o
67
68obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
69obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
70obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
71obj-$(CONFIG_HAVE_IMX_SRC) += src.o
72ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_LS1021A),)
73AFLAGS_headsmp.o :=-Wa,-march=armv7-a
74obj-$(CONFIG_SMP) += headsmp.o platsmp.o
75obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
76endif
77obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o
78obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o
79obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o
80obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o
81obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.o
82
83ifeq ($(CONFIG_SUSPEND),y)
84AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
85obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
86obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
87endif
88obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
89
90obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
91obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
92obj-$(CONFIG_SOC_IMX51) += mach-imx51.o
93obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
94
95obj-$(CONFIG_SOC_VF610) += mach-vf610.o
96
97obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o
98
99obj-y += devices/
100