[PATCH 4/6] gpio: mpc8xxx: allow build on MPC85xx platforms

Ahmad Fatoum a.fatoum at barebox.org
Mon Feb 9 01:10:29 PST 2026


The fsl,qoriq-gpio controller is present on MPC85xx-based platforms
(including QEMU ppce500). Add ARCH_MPC85XX to the depends list so the
driver can be selected for these platforms.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 17d5587ea8cf..988d08cf143c 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -102,7 +102,7 @@ config GPIO_MALTA_FPGA_I2C
 
 config GPIO_MPC8XXX
 	bool "MPC512x/MPC8xxx/QorIQ GPIO support"
-	depends on ARCH_LAYERSCAPE || COMPILE_TEST
+	depends on ARCH_LAYERSCAPE || ARCH_MPC85XX || COMPILE_TEST
 	select GPIO_GENERIC
 	help
 	  Say Y here if you're going to use hardware that connects to the
-- 
2.47.3




More information about the barebox mailing list