[v3] soc: imx: Break dependency on SOC_IMX8MQ for GPCv2
diff mbox series

Message ID 1547283362-13266-1-git-send-email-abel.vesa@nxp.com
State Mainlined
Commit 9b0bb07328f2375b2b6d3f8343edb1ee1ed39307
Headers show
  • [v3] soc: imx: Break dependency on SOC_IMX8MQ for GPCv2
Related show

Commit Message

Abel Vesa Jan. 12, 2019, 8:56 a.m. UTC
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>
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 mbox series

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"
 	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
 	default y if SOC_IMX7D