[PATCH] gpio: mt7621: remove dependce SOC_MT7628 of MT7621_GPIO

Du Huanpeng u74147 at gmail.com
Sun Nov 1 08:04:46 CET 2020


the help says it is for "MT7621 compatible" GPIOs,
but in this Kconfig it depends on MT7628 SoC.
this will prevent other SoC to use this driver.

Signed-off-by: Du Huanpeng <dhu at hodcarrier.org>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 202fcc6..c2441eb 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -473,7 +473,7 @@ config MPC83XX_SPISEL_BOOT
 
 config MT7621_GPIO
 	bool "MediaTek MT7621 GPIO driver"
-	depends on DM_GPIO && SOC_MT7628
+	depends on DM_GPIO
 	default y
 	help
 	  Say yes here to support MediaTek MT7621 compatible GPIOs.
-- 
2.7.4



More information about the U-Boot mailing list