diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-07-20 22:21:59 +0800 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2020-09-23 14:25:31 +0200 |
commit | a442abbbe186e14128d18bc3e42fb0fbf1a62210 (patch) | |
tree | d4dcf6c704c1bd686ff3ad64c8b66fec35709522 /drivers/reset/Kconfig | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
reset: imx7: Support module build
Use module_platform_driver(), add module device table, author,
description and license to support module build, and
CONFIG_RESET_IMX7 is changed to default 'y' ONLY for i.MX7D,
other platforms need to select it in defconfig.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/Kconfig')
-rw-r--r-- | drivers/reset/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index d9efbfd29646..19f9773133dd 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -65,9 +65,10 @@ config RESET_HSDK This enables the reset controller driver for HSDK board. config RESET_IMX7 - bool "i.MX7/8 Reset Driver" if COMPILE_TEST + tristate "i.MX7/8 Reset Driver" depends on HAS_IOMEM - default SOC_IMX7D || (ARM64 && ARCH_MXC) + depends on SOC_IMX7D || (ARM64 && ARCH_MXC) || COMPILE_TEST + default y if SOC_IMX7D select MFD_SYSCON help This enables the reset controller driver for i.MX7 SoCs. |