blob: 1789e2b3190389f287a4ce79a747b17c1072a48d [file] [log] [blame]
Shawn Guo3995eb82012-09-13 19:48:07 +08001obj-y := time.o cpu.o system.o irq-common.o
2
Sascha Hauercd737852012-03-09 09:11:32 +01003obj-$(CONFIG_SOC_IMX1) += clk-imx1.o mm-imx1.o
Sascha Hauer93421e42012-03-09 09:11:39 +01004obj-$(CONFIG_SOC_IMX21) += clk-imx21.o mm-imx21.o
Holger Schurigaa3b0a62009-01-26 16:34:54 +01005
Sascha Hauer6bbaec52012-03-08 22:24:12 +01006obj-$(CONFIG_SOC_IMX25) += clk-imx25.o mm-imx25.o ehci-imx25.o cpu-imx25.o
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +01007
Sascha Hauer25c038e2011-08-23 21:19:53 +02008obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
Sascha Hauere038ed52012-03-09 09:11:46 +01009obj-$(CONFIG_SOC_IMX27) += clk-imx27.o mm-imx27.o ehci-imx27.o
Juergen Beisert80eedae2008-07-05 10:03:00 +020010
Sascha Hauer95878cb2012-03-18 23:48:35 +010011obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o clk-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
Sascha Hauer5b48a612012-04-03 12:41:13 +020012obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o clk-imx35.o ehci-imx35.o pm-imx3.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020013
Arnd Bergmanna28eecef2012-08-15 21:56:39 +000014imx5-pm-$(CONFIG_PM) += pm-imx5.o
Markus Pargmann180cb7d2013-03-27 14:01:34 +010015obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o mm-imx5.o clk-imx51-imx53.o ehci-imx5.o $(imx5-pm-y)
Sascha Hauer784a90c2011-11-07 12:36:48 +010016
Shawn Guoa10bd672012-04-04 16:07:53 +080017obj-$(CONFIG_COMMON_CLK) += clk-pllv1.o clk-pllv2.o clk-pllv3.o clk-gate2.o \
Liu Yingcbe7fc82013-07-04 17:22:26 +080018 clk-pfd.o clk-busy.o clk.o \
Liu Yinga49e6c42013-07-04 17:35:46 +080019 clk-fixup-div.o clk-fixup-mux.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020020
Shawn Guo267dd342012-09-13 13:26:00 +080021obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
22obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
23
Shawn Guo3995eb82012-09-13 19:48:07 +080024obj-$(CONFIG_MXC_TZIC) += tzic.o
25obj-$(CONFIG_MXC_AVIC) += avic.o
26
Shawn Guo3995eb82012-09-13 19:48:07 +080027obj-$(CONFIG_MXC_USE_EPIT) += epit.o
28obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
Shawn Guo12bb34402012-12-04 22:55:14 +080029
30ifeq ($(CONFIG_CPU_IDLE),y)
Daniel Lezcano54a46442013-04-23 08:54:45 +000031obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
Shawn Guo12bb34402012-12-04 22:55:14 +080032obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
33endif
Shawn Guo3995eb82012-09-13 19:48:07 +080034
35ifdef CONFIG_SND_IMX_SOC
36obj-y += ssi-fiq.o
37obj-y += ssi-fiq-ksym.o
38endif
39
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010040# Support for CMOS sensor interface
41obj-$(CONFIG_MX1_VIDEO) += mx1-camera-fiq.o mx1-camera-fiq-ksym.o
42
43# i.MX1 based machines
Uwe Kleine-König07469492010-06-14 15:56:58 +020044obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o
45obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +000046obj-$(CONFIG_MACH_APF9328) += mach-apf9328.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020047
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010048# i.MX21 based machines
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010049obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020050
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010051# i.MX25 based machines
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010052obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o
Eric Bénard01dd5202011-12-13 07:31:35 +010053obj-$(CONFIG_MACH_EUKREA_CPUIMX25SD) += mach-eukrea_cpuimx25.o
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010054obj-$(CONFIG_MACH_EUKREA_MBIMXSD25_BASEBOARD) += eukrea_mbimxsd25-baseboard.o
Sascha Haueref4bac52012-09-20 14:59:36 +020055obj-$(CONFIG_MACH_IMX25_DT) += imx25-dt.o
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010056
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010057# i.MX27 based machines
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010058obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
59obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
Juergen Beisertff6552e2008-07-05 10:03:01 +020060obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010061obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
62obj-$(CONFIG_MACH_IMX27LITE) += mach-imx27lite.o
Javier Martin3b161e52010-07-30 10:06:01 +020063obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010064obj-$(CONFIG_MACH_CPUIMX27) += mach-cpuimx27.o
Eric Benarda961bf32009-07-16 16:26:34 +020065obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010066obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
67obj-$(CONFIG_MACH_MXT_TD60) += mach-mxt_td60.o
Fabio Estevam9c2c3582011-01-24 16:55:02 -020068obj-$(CONFIG_MACH_IMX27IPCAM) += mach-imx27ipcam.o
Sascha Hauer9f0749e2012-02-28 21:57:50 +010069obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010070
71# i.MX31 based machines
72obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
73obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
74obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
75obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
76obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o
77obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o
78obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
79 mx31moboard-marxbot.o mx31moboard-smartbot.o
80obj-$(CONFIG_MACH_QONG) += mach-qong.o
81obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
82obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
83obj-$(CONFIG_MACH_BUG) += mach-bug.o
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020084obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010085
86# i.MX35 based machines
87obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
88obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
Eric Bénarda69aa722011-12-13 07:31:43 +010089obj-$(CONFIG_MACH_EUKREA_CPUIMX35SD) += mach-cpuimx35.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010090obj-$(CONFIG_MACH_EUKREA_MBIMXSD35_BASEBOARD) += eukrea_mbimxsd35-baseboard.o
91obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
Shawn Guobac89d72011-10-02 15:09:11 +080092
Anson Huange95dddb2013-03-20 19:39:42 -040093obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
Shawn Guo9fbbe682011-09-06 14:39:44 +080094obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
95obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
96obj-$(CONFIG_HAVE_IMX_SRC) += src.o
Arnd Bergmann1fc593f2012-08-17 00:16:08 +000097AFLAGS_headsmp.o :=-Wa,-march=armv7-a
98obj-$(CONFIG_SMP) += headsmp.o platsmp.o
Shawn Guo69c31b72011-09-06 14:59:40 +080099obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Shawn Guo2acd1b62012-04-04 20:53:22 +0800100obj-$(CONFIG_SOC_IMX6Q) += clk-imx6q.o mach-imx6q.o
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800101obj-$(CONFIG_SOC_IMX6SL) += clk-imx6sl.o mach-imx6sl.o
Eric Miao46ec1b22011-12-21 22:38:23 +0800102
103ifeq ($(CONFIG_PM),y)
Arnd Bergmann1fc593f2012-08-17 00:16:08 +0000104obj-$(CONFIG_SOC_IMX6Q) += pm-imx6q.o headsmp.o
Shawn Guo5d482172013-10-31 16:37:12 +0800105# i.MX6SL reuses i.MX6Q code
106obj-$(CONFIG_SOC_IMX6SL) += pm-imx6q.o headsmp.o
Eric Miao46ec1b22011-12-21 22:38:23 +0800107endif
Sascha Hauer784a90c2011-11-07 12:36:48 +0100108
109# i.MX5 based machines
110obj-$(CONFIG_MACH_MX51_BABBAGE) += mach-mx51_babbage.o
Sascha Hauer784a90c2011-11-07 12:36:48 +0100111obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += mach-cpuimx51sd.o
Eric Bénard53a02d12012-05-08 09:20:27 +0200112obj-$(CONFIG_MACH_EUKREA_MBIMXSD51_BASEBOARD) += eukrea_mbimxsd51-baseboard.o
Sascha Hauer784a90c2011-11-07 12:36:48 +0100113
114obj-$(CONFIG_MACH_IMX51_DT) += imx51-dt.o
Shawn Guo442279d2012-08-12 23:21:39 +0800115obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
Shawn Guoe0557c02012-09-13 15:51:15 +0800116
Jingchang Lu5be913c2013-05-28 17:12:21 +0800117obj-$(CONFIG_SOC_VF610) += clk-vf610.o mach-vf610.o
118
Shawn Guoe0557c02012-09-13 15:51:15 +0800119obj-y += devices/