soc: imx: Break dependency on SOC_IMX8MQ for GPCv2
authorAbel Vesa <abel.vesa@nxp.com>
Sat, 12 Jan 2019 08:56:31 +0000 (08:56 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Jan 2019 01:42:22 +0000 (09:42 +0800)
Since this is going to be used on more SoCs than just i.MX8MQ, make
the dependency here more generic by using ARCH_MXC instead.
Also remove the SOC_IMX7D since it is also included by the ARCH_MXC.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/Kconfig

index 2112d18dbb7b91b1cd8c4b44586efcfbf8634a1f..d80f899d22f9f3217d2444ff386bec5fd42db614 100644 (file)
@@ -2,7 +2,7 @@ menu "i.MX SoC drivers"
 
 config IMX_GPCV2_PM_DOMAINS
        bool "i.MX GPCv2 PM domains"
-       depends on SOC_IMX7D || SOC_IMX8MQ || (COMPILE_TEST && OF)
+       depends on ARCH_MXC || (COMPILE_TEST && OF)
        depends on PM
        select PM_GENERIC_DOMAINS
        default y if SOC_IMX7D