soc: imx: increase build coverage for imx8m soc driver
authorPeng Fan <peng.fan@nxp.com>
Fri, 21 Feb 2020 02:32:19 +0000 (10:32 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 03:39:02 +0000 (11:39 +0800)
commitfc40200ebf82fae3e40c4e88246496644edafe66
tree163aabb020c6af604395f4d1b42c8f9acdf90040
parent705dcca91d0a75f5657f3d5465f7dbd31c3efa8b
soc: imx: increase build coverage for imx8m soc driver

The soc-imx8.c driver is actually for i.MX8M family, so rename it
to soc-imx8m.c.

Use CONFIG_SOC_IMX8M as build gate, not CONFIG_ARCH_MXC, to control
whether build this driver, also make it possible for compile test.

Default set it to y for ARCH_MXC && ARM64

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/Makefile
drivers/soc/imx/Kconfig
drivers/soc/imx/Makefile
drivers/soc/imx/soc-imx8.c [deleted file]
drivers/soc/imx/soc-imx8m.c [new file with mode: 0644]