Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / mach-imx / Makefile
blob9cebd360d58e8bef781d24d082307f36fc54f1a0
1 # SPDX-License-Identifier: GPL-2.0
2 obj-y := cpu.o system.o irq-common.o
4 obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
6 obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o mach-imx27.o
8 obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o mach-imx31.o
9 obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o mach-imx35.o
11 imx5-pm-$(CONFIG_PM) += pm-imx5.o
12 obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y)
14 obj-$(CONFIG_MXC_TZIC) += tzic.o
15 obj-$(CONFIG_MXC_AVIC) += avic.o
17 obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
19 ifeq ($(CONFIG_CPU_IDLE),y)
20 obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
21 obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
22 obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
23 obj-$(CONFIG_SOC_IMX6SLL) += cpuidle-imx6sx.o
24 obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
25 obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o
26 obj-$(CONFIG_SOC_IMX7ULP) += cpuidle-imx7ulp.o
27 endif
29 ifdef CONFIG_SND_SOC_IMX_PCM_FIQ
30 obj-y += ssi-fiq.o
31 obj-y += ssi-fiq-ksym.o
32 endif
34 obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
35 obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
36 obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
37 obj-$(CONFIG_HAVE_IMX_SRC) += src.o
38 ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_LS1021A),)
39 AFLAGS_headsmp.o :=-Wa,-march=armv7-a
40 obj-$(CONFIG_SMP) += headsmp.o platsmp.o
41 obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
42 endif
43 obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o
44 obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o
45 obj-$(CONFIG_SOC_IMX6SLL) += mach-imx6sl.o
46 obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o
47 obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o
48 obj-$(CONFIG_SOC_IMX7D_CA7) += mach-imx7d.o
49 obj-$(CONFIG_SOC_IMX7D_CM4) += mach-imx7d-cm4.o
50 obj-$(CONFIG_SOC_IMX7ULP) += mach-imx7ulp.o pm-imx7ulp.o
52 ifeq ($(CONFIG_SUSPEND),y)
53 AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
54 obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
55 obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
56 endif
57 ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
58 AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
59 obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
60 endif
61 obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
63 obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
64 obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
65 obj-$(CONFIG_SOC_IMX51) += mach-imx51.o
66 obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
68 obj-$(CONFIG_SOC_VF610) += mach-vf610.o
70 obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o