# SPDX-License-Identifier: GPL-2.0
obj-y := cpu.o system.o irq-common.o
obj-$([31mCONFIG_SOC_IMX21[0m) += mm-imx21.o
obj-$([31mCONFIG_SOC_IMX25[0m) += cpu-imx25.o mach-imx25.o pm-imx25.o
obj-$([31mCONFIG_SOC_IMX27[0m) += cpu-imx27.o pm-imx27.o
obj-$([31mCONFIG_SOC_IMX27[0m) += mm-imx27.o ehci-imx27.o
obj-$([31mCONFIG_SOC_IMX31[0m) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o
obj-$([31mCONFIG_SOC_IMX35[0m) += mm-imx3.o cpu-imx35.o ehci-imx35.o
imx5-pm-$([31mCONFIG_PM[0m) += pm-imx5.o
obj-$([31mCONFIG_SOC_IMX5[0m) += cpu-imx5.o $(imx5-pm-y)
obj-$([31mCONFIG_IMX_HAVE_IOMUX_V1[0m) += iomux-v1.o
obj-$([31mCONFIG_ARCH_MXC_IOMUX_V3[0m) += iomux-v3.o
obj-$([31mCONFIG_MXC_TZIC[0m) += tzic.o
obj-$([31mCONFIG_MXC_AVIC[0m) += avic.o
obj-$([31mCONFIG_MXC_DEBUG_BOARD[0m) += 3ds_debugboard.o
ifeq ($([31mCONFIG_CPU_IDLE[0m),y)
obj-$([31mCONFIG_SOC_IMX5[0m) += cpuidle-imx5.o
obj-$([31mCONFIG_SOC_IMX6Q[0m) += cpuidle-imx6q.o
obj-$([31mCONFIG_SOC_IMX6SL[0m) += cpuidle-imx6sl.o
obj-$([31mCONFIG_SOC_IMX6SLL[0m) += cpuidle-imx6sx.o
obj-$([31mCONFIG_SOC_IMX6SX[0m) += cpuidle-imx6sx.o
obj-$([31mCONFIG_SOC_IMX6UL[0m) += cpuidle-imx6sx.o
obj-$([31mCONFIG_SOC_IMX7ULP[0m) += cpuidle-imx7ulp.o
endif
ifdef [31mCONFIG_SND_SOC_IMX_PCM_FIQ[0m
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif
# i.MX21 based machines
obj-$([31mCONFIG_MACH_MX21ADS[0m) += mach-mx21ads.o
# i.MX27 based machines
obj-$([31mCONFIG_MACH_MX27ADS[0m) += mach-mx27ads.o
obj-$([31mCONFIG_MACH_MX27_3DS[0m) += mach-mx27_3ds.o
obj-$([31mCONFIG_MACH_IMX27_VISSTRIM_M10[0m) += mach-imx27_visstrim_m10.o
obj-$([31mCONFIG_MACH_PCA100[0m) += mach-pca100.o
obj-$([31mCONFIG_MACH_IMX27_DT[0m) += imx27-dt.o
# i.MX31 based machines
obj-$([31mCONFIG_MACH_MX31ADS[0m) += mach-mx31ads.o
obj-$([31mCONFIG_MACH_MX31LILLY[0m) += mach-mx31lilly.o mx31lilly-db.o
obj-$([31mCONFIG_MACH_MX31LITE[0m) += mach-mx31lite.o mx31lite-db.o
obj-$([31mCONFIG_MACH_PCM037[0m) += mach-pcm037.o
obj-$([31mCONFIG_MACH_PCM037_EET[0m) += mach-pcm037_eet.o
obj-$([31mCONFIG_MACH_MX31_3DS[0m) += mach-mx31_3ds.o
obj-$([31mCONFIG_MACH_MX31MOBOARD[0m) += mach-mx31moboard.o mx31moboard-devboard.o \
mx31moboard-marxbot.o mx31moboard-smartbot.o
obj-$([31mCONFIG_MACH_QONG[0m) += mach-qong.o
obj-$([31mCONFIG_MACH_ARMADILLO5X0[0m) += mach-armadillo5x0.o
obj-$([31mCONFIG_MACH_KZM_ARM11_01[0m) += mach-kzm_arm11_01.o
obj-$([31mCONFIG_MACH_BUG[0m) += mach-bug.o
obj-$([31mCONFIG_MACH_IMX31_DT[0m) += imx31-dt.o
# i.MX35 based machines
obj-$([31mCONFIG_MACH_PCM043[0m) += mach-pcm043.o
obj-$([31mCONFIG_MACH_MX35_3DS[0m) += mach-mx35_3ds.o
obj-$([31mCONFIG_MACH_VPR200[0m) += mach-vpr200.o
obj-$([31mCONFIG_MACH_IMX35_DT[0m) += imx35-dt.o
obj-$([31mCONFIG_HAVE_IMX_ANATOP[0m) += anatop.o
obj-$([31mCONFIG_HAVE_IMX_GPC[0m) += gpc.o
obj-$([31mCONFIG_HAVE_IMX_MMDC[0m) += mmdc.o
obj-$([31mCONFIG_HAVE_IMX_SRC[0m) += src.o
ifneq ($([31mCONFIG_SOC_IMX6[0m)$([31mCONFIG_SOC_LS1021A[0m),)
AFLAGS_headsmp.o :=-Wa,-march=armv7-a
obj-$([31mCONFIG_SMP[0m) += headsmp.o platsmp.o
obj-$([31mCONFIG_HOTPLUG_CPU[0m) += hotplug.o
endif
obj-$([31mCONFIG_SOC_IMX6Q[0m) += mach-imx6q.o
obj-$([31mCONFIG_SOC_IMX6SL[0m) += mach-imx6sl.o
obj-$([31mCONFIG_SOC_IMX6SLL[0m) += mach-imx6sl.o
obj-$([31mCONFIG_SOC_IMX6SX[0m) += mach-imx6sx.o
obj-$([31mCONFIG_SOC_IMX6UL[0m) += mach-imx6ul.o
obj-$([31mCONFIG_SOC_IMX7D_CA7[0m) += mach-imx7d.o
obj-$([31mCONFIG_SOC_IMX7D_CM4[0m) += mach-imx7d-cm4.o
obj-$([31mCONFIG_SOC_IMX7ULP[0m) += mach-imx7ulp.o pm-imx7ulp.o
ifeq ($([31mCONFIG_SUSPEND[0m),y)
AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$([31mCONFIG_SOC_IMX6[0m) += suspend-imx6.o
obj-$([31mCONFIG_SOC_IMX53[0m) += suspend-imx53.o
endif
obj-$([31mCONFIG_SOC_IMX6[0m) += pm-imx6.o
obj-$([31mCONFIG_SOC_IMX1[0m) += mach-imx1.o
obj-$([31mCONFIG_SOC_IMX50[0m) += mach-imx50.o
obj-$([31mCONFIG_SOC_IMX51[0m) += mach-imx51.o
obj-$([31mCONFIG_SOC_IMX53[0m) += mach-imx53.o
obj-$([31mCONFIG_SOC_VF610[0m) += mach-vf610.o
obj-$([31mCONFIG_SOC_LS1021A[0m) += mach-ls1021a.o
obj-y += devices/