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.v...@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.d...@nxp.com>
---
Changes since v2:
 * fixed the commit message to include the SOC_IMX7D removal
   as suggested by Shawn.

 drivers/soc/imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index 2112d18..d80f899 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -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
-- 
2.7.4

Reply via email to