[PATCH] sandbox: Only select DM_GPIO if GPIO
Tom Rini
trini at konsulko.com
Tue Mar 10 17:26:25 CET 2026
The DM_GPIO option is not available if GPIO is not enabled, so make this
select only happen if GPIO is enabled. This avoids a Kconfig dependency
problem.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
arch/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 4af0da2485fb..53697c31db6b 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -196,7 +196,7 @@ config SANDBOX
select DM
select DM_EVENT
select DM_FUZZING_ENGINE
- select DM_GPIO
+ select DM_GPIO if GPIO
select DM_I2C
select DM_KEYBOARD
select DM_SERIAL
--
2.43.0
More information about the U-Boot
mailing list