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