xref: /openbmc/linux/arch/arm/mach-imx/Makefile (revision 2acd1b6f)
1obj-$(CONFIG_SOC_IMX1) += clk-imx1.o mm-imx1.o
2obj-$(CONFIG_SOC_IMX21) += clk-imx21.o mm-imx21.o
3
4obj-$(CONFIG_SOC_IMX25) += clk-imx25.o mm-imx25.o ehci-imx25.o cpu-imx25.o
5
6obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
7obj-$(CONFIG_SOC_IMX27) += clk-imx27.o mm-imx27.o ehci-imx27.o
8
9obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o clk-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
10obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o clk-imx35.o ehci-imx35.o pm-imx3.o
11
12obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o mm-imx5.o clk-imx51-imx53.o ehci-imx5.o pm-imx5.o cpu_op-mx51.o
13
14obj-$(CONFIG_COMMON_CLK) += clk-pllv1.o clk-pllv2.o clk-pllv3.o clk-gate2.o \
15			    clk-pfd.o clk-busy.o
16
17# Support for CMOS sensor interface
18obj-$(CONFIG_MX1_VIDEO) += mx1-camera-fiq.o mx1-camera-fiq-ksym.o
19
20# i.MX1 based machines
21obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o
22obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
23obj-$(CONFIG_MACH_APF9328) += mach-apf9328.o
24
25# i.MX21 based machines
26obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
27
28# i.MX25 based machines
29obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o
30obj-$(CONFIG_MACH_EUKREA_CPUIMX25SD) += mach-eukrea_cpuimx25.o
31obj-$(CONFIG_MACH_EUKREA_MBIMXSD25_BASEBOARD) += eukrea_mbimxsd25-baseboard.o
32
33# i.MX27 based machines
34obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
35obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
36obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
37obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
38obj-$(CONFIG_MACH_IMX27LITE) += mach-imx27lite.o
39obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
40obj-$(CONFIG_MACH_CPUIMX27) += mach-cpuimx27.o
41obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
42obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
43obj-$(CONFIG_MACH_MXT_TD60) += mach-mxt_td60.o
44obj-$(CONFIG_MACH_IMX27IPCAM) += mach-imx27ipcam.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
60
61# i.MX35 based machines
62obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
63obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
64obj-$(CONFIG_MACH_EUKREA_CPUIMX35SD) += mach-cpuimx35.o
65obj-$(CONFIG_MACH_EUKREA_MBIMXSD35_BASEBOARD) += eukrea_mbimxsd35-baseboard.o
66obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
67
68obj-$(CONFIG_DEBUG_LL) += lluart.o
69obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
70obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
71obj-$(CONFIG_HAVE_IMX_SRC) += src.o
72obj-$(CONFIG_CPU_V7) += head-v7.o
73AFLAGS_head-v7.o :=-Wa,-march=armv7-a
74obj-$(CONFIG_SMP) += platsmp.o
75obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
76obj-$(CONFIG_SOC_IMX6Q) += clk-imx6q.o mach-imx6q.o
77
78ifeq ($(CONFIG_PM),y)
79obj-$(CONFIG_SOC_IMX6Q) += pm-imx6q.o
80endif
81
82# i.MX5 based machines
83obj-$(CONFIG_MACH_MX51_BABBAGE) += mach-mx51_babbage.o
84obj-$(CONFIG_MACH_MX51_3DS) += mach-mx51_3ds.o
85obj-$(CONFIG_MACH_MX53_EVK) += mach-mx53_evk.o
86obj-$(CONFIG_MACH_MX53_SMD) += mach-mx53_smd.o
87obj-$(CONFIG_MACH_MX53_LOCO) += mach-mx53_loco.o
88obj-$(CONFIG_MACH_MX53_ARD) += mach-mx53_ard.o
89obj-$(CONFIG_MACH_EUKREA_CPUIMX51) += mach-cpuimx51.o
90obj-$(CONFIG_MACH_EUKREA_MBIMX51_BASEBOARD) += eukrea_mbimx51-baseboard.o
91obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += mach-cpuimx51sd.o
92obj-$(CONFIG_MACH_EUKREA_MBIMXSD51_BASEBOARD) += eukrea_mbimxsd-baseboard.o
93obj-$(CONFIG_MX51_EFIKA_COMMON) += mx51_efika.o
94obj-$(CONFIG_MACH_MX51_EFIKAMX) += mach-mx51_efikamx.o
95obj-$(CONFIG_MACH_MX51_EFIKASB) += mach-mx51_efikasb.o
96obj-$(CONFIG_MACH_MX50_RDP) += mach-mx50_rdp.o
97
98obj-$(CONFIG_MACH_IMX51_DT) += imx51-dt.o
99obj-$(CONFIG_MACH_IMX53_DT) += imx53-dt.o
100