blob: 21114a9a2ae7983c7cf4630d56b8bef0639aff62 [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
Anson Huang751f7e92014-01-09 16:03:16 +080033obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
Shawn Guo12bb34402012-12-04 22:55:14 +080034endif
Shawn Guo3995eb82012-09-13 19:48:07 +080035
36ifdef CONFIG_SND_IMX_SOC
37obj-y += ssi-fiq.o
38obj-y += ssi-fiq-ksym.o
39endif
40
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010041# Support for CMOS sensor interface
42obj-$(CONFIG_MX1_VIDEO) += mx1-camera-fiq.o mx1-camera-fiq-ksym.o
43
44# i.MX1 based machines
Uwe Kleine-König07469492010-06-14 15:56:58 +020045obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o
46obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +000047obj-$(CONFIG_MACH_APF9328) += mach-apf9328.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020048
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010049# i.MX21 based machines
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010050obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020051
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010052# i.MX25 based machines
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010053obj-$(CONFIG_MACH_MX25_3DS) += mach-mx25_3ds.o
Eric Bénard01dd5202011-12-13 07:31:35 +010054obj-$(CONFIG_MACH_EUKREA_CPUIMX25SD) += mach-eukrea_cpuimx25.o
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010055obj-$(CONFIG_MACH_EUKREA_MBIMXSD25_BASEBOARD) += eukrea_mbimxsd25-baseboard.o
Sascha Haueref4bac52012-09-20 14:59:36 +020056obj-$(CONFIG_MACH_IMX25_DT) += imx25-dt.o
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010057
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010058# i.MX27 based machines
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010059obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
60obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
Juergen Beisertff6552e2008-07-05 10:03:01 +020061obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010062obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
63obj-$(CONFIG_MACH_IMX27LITE) += mach-imx27lite.o
Javier Martin3b161e52010-07-30 10:06:01 +020064obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010065obj-$(CONFIG_MACH_CPUIMX27) += mach-cpuimx27.o
Eric Benarda961bf32009-07-16 16:26:34 +020066obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010067obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
68obj-$(CONFIG_MACH_MXT_TD60) += mach-mxt_td60.o
Fabio Estevam9c2c3582011-01-24 16:55:02 -020069obj-$(CONFIG_MACH_IMX27IPCAM) += mach-imx27ipcam.o
Sascha Hauer9f0749e2012-02-28 21:57:50 +010070obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010071
72# i.MX31 based machines
73obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
74obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
75obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
76obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
77obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o
78obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o
79obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
80 mx31moboard-marxbot.o mx31moboard-smartbot.o
81obj-$(CONFIG_MACH_QONG) += mach-qong.o
82obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
83obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
84obj-$(CONFIG_MACH_BUG) += mach-bug.o
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020085obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010086
87# i.MX35 based machines
88obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
89obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
Eric Bénarda69aa722011-12-13 07:31:43 +010090obj-$(CONFIG_MACH_EUKREA_CPUIMX35SD) += mach-cpuimx35.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010091obj-$(CONFIG_MACH_EUKREA_MBIMXSD35_BASEBOARD) += eukrea_mbimxsd35-baseboard.o
92obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
Steffen Trumtrara55a3d72013-12-18 15:10:25 +010093obj-$(CONFIG_MACH_IMX35_DT) += imx35-dt.o
Shawn Guobac89d72011-10-02 15:09:11 +080094
Anson Huange95dddb2013-03-20 19:39:42 -040095obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
Shawn Guo9fbbe682011-09-06 14:39:44 +080096obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
97obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
98obj-$(CONFIG_HAVE_IMX_SRC) += src.o
Arnd Bergmann1fc593f2012-08-17 00:16:08 +000099AFLAGS_headsmp.o :=-Wa,-march=armv7-a
100obj-$(CONFIG_SMP) += headsmp.o platsmp.o
Shawn Guo69c31b72011-09-06 14:59:40 +0800101obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Shawn Guo2acd1b62012-04-04 20:53:22 +0800102obj-$(CONFIG_SOC_IMX6Q) += clk-imx6q.o mach-imx6q.o
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800103obj-$(CONFIG_SOC_IMX6SL) += clk-imx6sl.o mach-imx6sl.o
Eric Miao46ec1b22011-12-21 22:38:23 +0800104
Arnd Bergmann1fc593f2012-08-17 00:16:08 +0000105obj-$(CONFIG_SOC_IMX6Q) += pm-imx6q.o headsmp.o
Shawn Guo5d482172013-10-31 16:37:12 +0800106# i.MX6SL reuses i.MX6Q code
107obj-$(CONFIG_SOC_IMX6SL) += pm-imx6q.o headsmp.o
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
Greg Ungerer374daac2013-11-04 10:13:40 +1000115obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
Shawn Guo442279d2012-08-12 23:21:39 +0800116obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
Shawn Guoe0557c02012-09-13 15:51:15 +0800117
Jingchang Lu5be913c2013-05-28 17:12:21 +0800118obj-$(CONFIG_SOC_VF610) += clk-vf610.o mach-vf610.o
119
Shawn Guoe0557c02012-09-13 15:51:15 +0800120obj-y += devices/