soc: imx8m: Support building imx8m soc driver as module

Make the imx8m soc driver as tristate so that it can be built as loadable
module, module names are:
soc-imx8m.ko, imx8m-blk-ctrl.ko and imx8mp-blk-ctrl.ko

Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Jindong Yue 2023-03-01 21:05:57 +08:00 committed by Shawn Guo
parent 280fe26905
commit 8191455c38

View File

@ -10,7 +10,7 @@ config IMX_GPCV2_PM_DOMAINS
default y if SOC_IMX7D default y if SOC_IMX7D
config SOC_IMX8M config SOC_IMX8M
bool "i.MX8M SoC family support" tristate "i.MX8M SoC family support"
depends on ARCH_MXC || COMPILE_TEST depends on ARCH_MXC || COMPILE_TEST
default ARCH_MXC && ARM64 default ARCH_MXC && ARM64
select SOC_BUS select SOC_BUS