aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/imx/Makefile
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-05-20 13:51:29 +0800
committerShawn Guo <shawnguo@kernel.org>2020-05-20 23:03:50 +0800
commit52102a3ba6a617449f4b057880d73be93310a7c7 (patch)
tree49ea556899049f4ae50dbd183c574cdddf07a4a1 /drivers/soc/imx/Makefile
parentARM: imx: move cpu definitions into a header (diff)
downloadlinux-dev-52102a3ba6a617449f4b057880d73be93310a7c7.tar.xz
linux-dev-52102a3ba6a617449f4b057880d73be93310a7c7.zip
soc: imx: move cpu code to drivers/soc/imx
Move the soc device register code to drivers/soc/imx to align with i.MX8. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx/Makefile')
-rw-r--r--drivers/soc/imx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/imx/Makefile b/drivers/soc/imx/Makefile
index 103e2c93c342..446143241fe7 100644
--- a/drivers/soc/imx/Makefile
+++ b/drivers/soc/imx/Makefile
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
+ifeq ($(CONFIG_ARM),y)
+obj-$(CONFIG_ARCH_MXC) += soc-imx.o
+endif
obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
obj-$(CONFIG_IMX_GPCV2_PM_DOMAINS) += gpcv2.o
obj-$(CONFIG_SOC_IMX8M) += soc-imx8m.o