blob: fb689d813b098464655d45a0cb52b1fb3d150858 [file] [log] [blame]
Shawn Guobea5af42015-05-15 15:41:00 +08001obj-y := cpu.o system.o irq-common.o
Shawn Guo3995eb82012-09-13 19:48:07 +08002
Shawn Guo11f68122015-04-26 21:54:29 +08003obj-$(CONFIG_SOC_IMX1) += mm-imx1.o
4obj-$(CONFIG_SOC_IMX21) += mm-imx21.o
Holger Schurigaa3b0a62009-01-26 16:34:54 +01005
Shawn Guo11f68122015-04-26 21:54:29 +08006obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-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
Shawn Guo11f68122015-04-26 21:54:29 +08009obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o
Juergen Beisert80eedae2008-07-05 10:03:00 +020010
Shawn Guo11f68122015-04-26 21:54:29 +080011obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
12obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-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
Shawn Guo11f68122015-04-26 21:54:29 +080015obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y)
Sascha Hauer784a90c2011-11-07 12:36:48 +010016
Shawn Guo267dd342012-09-13 13:26:00 +080017obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
18obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
19
Shawn Guo3995eb82012-09-13 19:48:07 +080020obj-$(CONFIG_MXC_TZIC) += tzic.o
21obj-$(CONFIG_MXC_AVIC) += avic.o
22
Shawn Guo3995eb82012-09-13 19:48:07 +080023obj-$(CONFIG_MXC_USE_EPIT) += epit.o
24obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
Shawn Guo12bb34402012-12-04 22:55:14 +080025
26ifeq ($(CONFIG_CPU_IDLE),y)
Daniel Lezcano54a46442013-04-23 08:54:45 +000027obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
Shawn Guo12bb34402012-12-04 22:55:14 +080028obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
Anson Huang751f7e92014-01-09 16:03:16 +080029obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
Anson Huang05136f02014-12-17 12:24:12 +080030obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
Shawn Guo12bb34402012-12-04 22:55:14 +080031endif
Shawn Guo3995eb82012-09-13 19:48:07 +080032
33ifdef CONFIG_SND_IMX_SOC
34obj-y += ssi-fiq.o
35obj-y += ssi-fiq-ksym.o
36endif
37
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010038# i.MX1 based machines
Uwe Kleine-König07469492010-06-14 15:56:58 +020039obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +000040obj-$(CONFIG_MACH_APF9328) += mach-apf9328.o
Alexander Shiyan24980dc2014-07-26 13:45:28 +040041obj-$(CONFIG_MACH_IMX1_DT) += imx1-dt.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020042
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010043# i.MX21 based machines
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010044obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
Uwe Kleine-König07469492010-06-14 15:56:58 +020045
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010046# i.MX27 based machines
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010047obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010048obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
Javier Martin3b161e52010-07-30 10:06:01 +020049obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
Uwe Kleine-König386c5cf2009-12-10 10:34:04 +010050obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
Sascha Hauer9f0749e2012-02-28 21:57:50 +010051obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010052
53# i.MX31 based machines
54obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
55obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
56obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
57obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
58obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o
59obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o
60obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
61 mx31moboard-marxbot.o mx31moboard-smartbot.o
62obj-$(CONFIG_MACH_QONG) += mach-qong.o
63obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
64obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
65obj-$(CONFIG_MACH_BUG) += mach-bug.o
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020066obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010067
68# i.MX35 based machines
69obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
70obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010071obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
Steffen Trumtrara55a3d72013-12-18 15:10:25 +010072obj-$(CONFIG_MACH_IMX35_DT) += imx35-dt.o
Shawn Guobac89d72011-10-02 15:09:11 +080073
Anson Huange95dddb2013-03-20 19:39:42 -040074obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
Shawn Guo9fbbe682011-09-06 14:39:44 +080075obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
76obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
77obj-$(CONFIG_HAVE_IMX_SRC) += src.o
Jingchang Lu4e3fea42014-10-31 17:01:13 +080078ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_LS1021A),)
Arnd Bergmann1fc593f2012-08-17 00:16:08 +000079AFLAGS_headsmp.o :=-Wa,-march=armv7-a
80obj-$(CONFIG_SMP) += headsmp.o platsmp.o
Shawn Guo69c31b72011-09-06 14:59:40 +080081obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Arnd Bergmann060d5172014-07-22 10:30:50 +020082endif
Shawn Guo11f68122015-04-26 21:54:29 +080083obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o
84obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o
85obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o
Frank Li022d0712015-07-10 02:09:41 +080086obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o
Anson Huang5739b912015-05-08 01:35:55 +080087obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.o
Eric Miao46ec1b22011-12-21 22:38:23 +080088
Shawn Guo6a5637e2014-02-27 16:00:55 +080089ifeq ($(CONFIG_SUSPEND),y)
Anson Huangdf595742014-01-17 11:39:05 +080090AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
Shawn Guo6a5637e2014-02-27 16:00:55 +080091obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
Martin Fuzzey1579c7b2015-05-12 15:31:03 +020092obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
Shawn Guo6a5637e2014-02-27 16:00:55 +080093endif
Shawn Guo9cdde722014-02-27 15:28:48 +080094obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
Sascha Hauer784a90c2011-11-07 12:36:48 +010095
Greg Ungerer374daac2013-11-04 10:13:40 +100096obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
Shawn Guo1ecdde92014-05-19 13:47:43 +080097obj-$(CONFIG_SOC_IMX51) += mach-imx51.o
Shawn Guo442279d2012-08-12 23:21:39 +080098obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
Shawn Guoe0557c02012-09-13 15:51:15 +080099
Shawn Guo11f68122015-04-26 21:54:29 +0800100obj-$(CONFIG_SOC_VF610) += mach-vf610.o
Jingchang Lu5be913c2013-05-28 17:12:21 +0800101
Jingchang Lu7f0fb612014-10-31 17:01:12 +0800102obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o
103
Shawn Guoe0557c02012-09-13 15:51:15 +0800104obj-y += devices/