Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Shawn Guo | bea5af4 | 2015-05-15 15:41:00 +0800 | [diff] [blame] | 2 | obj-y := cpu.o system.o irq-common.o |
Shawn Guo | 3995eb8 | 2012-09-13 19:48:07 +0800 | [diff] [blame] | 3 | |
Shawn Guo | 11f6812 | 2015-04-26 21:54:29 +0800 | [diff] [blame] | 4 | obj-$(CONFIG_SOC_IMX21) += mm-imx21.o |
Holger Schurig | aa3b0a6 | 2009-01-26 16:34:54 +0100 | [diff] [blame] | 5 | |
Fabio Estevam | 8c4300c | 2016-02-02 19:45:38 -0200 | [diff] [blame] | 6 | obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o |
Uwe Kleine-König | e48ab1c | 2010-11-11 18:06:17 +0100 | [diff] [blame] | 7 | |
Sascha Hauer | 25c038e | 2011-08-23 21:19:53 +0200 | [diff] [blame] | 8 | obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o |
Shawn Guo | 11f6812 | 2015-04-26 21:54:29 +0800 | [diff] [blame] | 9 | obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o |
Juergen Beisert | 80eedae | 2008-07-05 10:03:00 +0200 | [diff] [blame] | 10 | |
Arnd Bergmann | c112d2a | 2016-06-24 12:49:58 +0200 | [diff] [blame] | 11 | obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o |
| 12 | obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o |
Uwe Kleine-König | 0746949 | 2010-06-14 15:56:58 +0200 | [diff] [blame] | 13 | |
Arnd Bergmann | a28eecef | 2012-08-15 21:56:39 +0000 | [diff] [blame] | 14 | imx5-pm-$(CONFIG_PM) += pm-imx5.o |
Shawn Guo | 11f6812 | 2015-04-26 21:54:29 +0800 | [diff] [blame] | 15 | obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y) |
Sascha Hauer | 784a90c | 2011-11-07 12:36:48 +0100 | [diff] [blame] | 16 | |
Shawn Guo | 267dd34 | 2012-09-13 13:26:00 +0800 | [diff] [blame] | 17 | obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o |
| 18 | obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o |
| 19 | |
Shawn Guo | 3995eb8 | 2012-09-13 19:48:07 +0800 | [diff] [blame] | 20 | obj-$(CONFIG_MXC_TZIC) += tzic.o |
| 21 | obj-$(CONFIG_MXC_AVIC) += avic.o |
| 22 | |
Shawn Guo | 3995eb8 | 2012-09-13 19:48:07 +0800 | [diff] [blame] | 23 | obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o |
Shawn Guo | 12bb3440 | 2012-12-04 22:55:14 +0800 | [diff] [blame] | 24 | |
| 25 | ifeq ($(CONFIG_CPU_IDLE),y) |
Daniel Lezcano | 54a4644 | 2013-04-23 08:54:45 +0000 | [diff] [blame] | 26 | obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o |
Shawn Guo | 12bb3440 | 2012-12-04 22:55:14 +0800 | [diff] [blame] | 27 | obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o |
Arnd Bergmann | 9a189f2 | 2018-07-06 14:54:48 +0200 | [diff] [blame] | 28 | obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o |
| 29 | obj-$(CONFIG_SOC_IMX6SLL) += cpuidle-imx6sx.o |
Anson Huang | 05136f0 | 2014-12-17 12:24:12 +0800 | [diff] [blame] | 30 | obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o |
Arnd Bergmann | d64299d | 2016-09-06 14:53:25 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o |
Anson Huang | 6d45a40 | 2019-01-14 08:54:59 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_SOC_IMX7ULP) += cpuidle-imx7ulp.o |
Shawn Guo | 12bb3440 | 2012-12-04 22:55:14 +0800 | [diff] [blame] | 33 | endif |
Shawn Guo | 3995eb8 | 2012-09-13 19:48:07 +0800 | [diff] [blame] | 34 | |
Stefan Agner | 23b2441 | 2019-01-03 15:36:31 +0100 | [diff] [blame] | 35 | ifdef CONFIG_SND_SOC_IMX_PCM_FIQ |
Shawn Guo | 3995eb8 | 2012-09-13 19:48:07 +0800 | [diff] [blame] | 36 | obj-y += ssi-fiq.o |
Russell King | 8478132 | 2016-11-23 10:00:03 +0000 | [diff] [blame] | 37 | obj-y += ssi-fiq-ksym.o |
Shawn Guo | 3995eb8 | 2012-09-13 19:48:07 +0800 | [diff] [blame] | 38 | endif |
| 39 | |
Uwe Kleine-König | 27ad4bf | 2011-03-17 09:40:29 +0100 | [diff] [blame] | 40 | # i.MX21 based machines |
Uwe Kleine-König | 386c5cf | 2009-12-10 10:34:04 +0100 | [diff] [blame] | 41 | obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o |
Uwe Kleine-König | 0746949 | 2010-06-14 15:56:58 +0200 | [diff] [blame] | 42 | |
Uwe Kleine-König | 27ad4bf | 2011-03-17 09:40:29 +0100 | [diff] [blame] | 43 | # i.MX27 based machines |
Uwe Kleine-König | 386c5cf | 2009-12-10 10:34:04 +0100 | [diff] [blame] | 44 | obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o |
Uwe Kleine-König | 386c5cf | 2009-12-10 10:34:04 +0100 | [diff] [blame] | 45 | obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o |
Javier Martin | 3b161e5 | 2010-07-30 10:06:01 +0200 | [diff] [blame] | 46 | obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o |
Uwe Kleine-König | 386c5cf | 2009-12-10 10:34:04 +0100 | [diff] [blame] | 47 | obj-$(CONFIG_MACH_PCA100) += mach-pca100.o |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 48 | obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o |
Uwe Kleine-König | 27ad4bf | 2011-03-17 09:40:29 +0100 | [diff] [blame] | 49 | |
| 50 | # i.MX31 based machines |
| 51 | obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o |
| 52 | obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o |
| 53 | obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o |
| 54 | obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o |
| 55 | obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o |
| 56 | obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o |
| 57 | obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \ |
| 58 | mx31moboard-marxbot.o mx31moboard-smartbot.o |
| 59 | obj-$(CONFIG_MACH_QONG) += mach-qong.o |
| 60 | obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o |
| 61 | obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o |
| 62 | obj-$(CONFIG_MACH_BUG) += mach-bug.o |
Denis 'GNUtoo' Carikli | d2a37b3 | 2012-07-09 21:39:12 +0200 | [diff] [blame] | 63 | obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o |
Uwe Kleine-König | 27ad4bf | 2011-03-17 09:40:29 +0100 | [diff] [blame] | 64 | |
| 65 | # i.MX35 based machines |
| 66 | obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o |
| 67 | obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o |
Uwe Kleine-König | 27ad4bf | 2011-03-17 09:40:29 +0100 | [diff] [blame] | 68 | obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o |
Steffen Trumtrar | a55a3d7 | 2013-12-18 15:10:25 +0100 | [diff] [blame] | 69 | obj-$(CONFIG_MACH_IMX35_DT) += imx35-dt.o |
Shawn Guo | bac89d7 | 2011-10-02 15:09:11 +0800 | [diff] [blame] | 70 | |
Anson Huang | e95dddb | 2013-03-20 19:39:42 -0400 | [diff] [blame] | 71 | obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o |
Shawn Guo | 9fbbe68 | 2011-09-06 14:39:44 +0800 | [diff] [blame] | 72 | obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o |
| 73 | obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o |
| 74 | obj-$(CONFIG_HAVE_IMX_SRC) += src.o |
Jingchang Lu | 4e3fea4 | 2014-10-31 17:01:13 +0800 | [diff] [blame] | 75 | ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_LS1021A),) |
Arnd Bergmann | 1fc593f | 2012-08-17 00:16:08 +0000 | [diff] [blame] | 76 | AFLAGS_headsmp.o :=-Wa,-march=armv7-a |
| 77 | obj-$(CONFIG_SMP) += headsmp.o platsmp.o |
Shawn Guo | 69c31b7 | 2011-09-06 14:59:40 +0800 | [diff] [blame] | 78 | obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o |
Arnd Bergmann | 060d517 | 2014-07-22 10:30:50 +0200 | [diff] [blame] | 79 | endif |
Shawn Guo | 11f6812 | 2015-04-26 21:54:29 +0800 | [diff] [blame] | 80 | obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o |
| 81 | obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o |
Bai Ping | dee5dee | 2018-03-08 17:34:55 +0800 | [diff] [blame] | 82 | obj-$(CONFIG_SOC_IMX6SLL) += mach-imx6sl.o |
Shawn Guo | 11f6812 | 2015-04-26 21:54:29 +0800 | [diff] [blame] | 83 | obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o |
Frank Li | 022d071 | 2015-07-10 02:09:41 +0800 | [diff] [blame] | 84 | obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o |
Oleksij Rempel | 1a1f919 | 2018-07-03 09:12:47 +0200 | [diff] [blame] | 85 | obj-$(CONFIG_SOC_IMX7D_CA7) += mach-imx7d.o |
| 86 | obj-$(CONFIG_SOC_IMX7D_CM4) += mach-imx7d-cm4.o |
A.s. Dong | de70d0e | 2018-11-10 15:13:04 +0000 | [diff] [blame] | 87 | obj-$(CONFIG_SOC_IMX7ULP) += mach-imx7ulp.o pm-imx7ulp.o |
Eric Miao | 46ec1b2 | 2011-12-21 22:38:23 +0800 | [diff] [blame] | 88 | |
Shawn Guo | 6a5637e | 2014-02-27 16:00:55 +0800 | [diff] [blame] | 89 | ifeq ($(CONFIG_SUSPEND),y) |
Anson Huang | df59574 | 2014-01-17 11:39:05 +0800 | [diff] [blame] | 90 | AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a |
Shawn Guo | 6a5637e | 2014-02-27 16:00:55 +0800 | [diff] [blame] | 91 | obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o |
Martin Fuzzey | 1579c7b | 2015-05-12 15:31:03 +0200 | [diff] [blame] | 92 | obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o |
Shawn Guo | 6a5637e | 2014-02-27 16:00:55 +0800 | [diff] [blame] | 93 | endif |
Ahmad Fatoum | f1baca8 | 2020-03-23 09:19:33 +0100 | [diff] [blame] | 94 | ifeq ($(CONFIG_ARM_CPU_SUSPEND),y) |
Ahmad Fatoum | 512a928 | 2020-01-16 15:18:49 +0100 | [diff] [blame] | 95 | AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a |
| 96 | obj-$(CONFIG_SOC_IMX6) += resume-imx6.o |
Ahmad Fatoum | f1baca8 | 2020-03-23 09:19:33 +0100 | [diff] [blame] | 97 | endif |
Shawn Guo | 9cdde72 | 2014-02-27 15:28:48 +0800 | [diff] [blame] | 98 | obj-$(CONFIG_SOC_IMX6) += pm-imx6.o |
Sascha Hauer | 784a90c | 2011-11-07 12:36:48 +0100 | [diff] [blame] | 99 | |
Alexander Shiyan | 9a008da | 2016-08-06 07:56:26 +0300 | [diff] [blame] | 100 | obj-$(CONFIG_SOC_IMX1) += mach-imx1.o |
Greg Ungerer | 374daac | 2013-11-04 10:13:40 +1000 | [diff] [blame] | 101 | obj-$(CONFIG_SOC_IMX50) += mach-imx50.o |
Shawn Guo | 1ecdde9 | 2014-05-19 13:47:43 +0800 | [diff] [blame] | 102 | obj-$(CONFIG_SOC_IMX51) += mach-imx51.o |
Shawn Guo | 442279d | 2012-08-12 23:21:39 +0800 | [diff] [blame] | 103 | obj-$(CONFIG_SOC_IMX53) += mach-imx53.o |
Shawn Guo | e0557c0 | 2012-09-13 15:51:15 +0800 | [diff] [blame] | 104 | |
Shawn Guo | 11f6812 | 2015-04-26 21:54:29 +0800 | [diff] [blame] | 105 | obj-$(CONFIG_SOC_VF610) += mach-vf610.o |
Jingchang Lu | 5be913c | 2013-05-28 17:12:21 +0800 | [diff] [blame] | 106 | |
Jingchang Lu | 7f0fb61 | 2014-10-31 17:01:12 +0800 | [diff] [blame] | 107 | obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o |
| 108 | |
Shawn Guo | e0557c0 | 2012-09-13 15:51:15 +0800 | [diff] [blame] | 109 | obj-y += devices/ |