[PATCH] w1: Correct dependencies for CMD_W1
Tom Rini
trini at konsulko.com
Mon Mar 23 20:52:51 CET 2026
The CMD_W1 functionality can only work with both W1 and W1_EEPROM
enabled, so express this dependency in Kconfig.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Peng Fan <peng.fan at nxp.com>
---
cmd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7712cb9f3afe..a90102b8cd73 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1395,7 +1395,7 @@ config CMD_I3C
and perform read and write on the connected i3c devices.
config CMD_W1
- depends on W1
+ depends on W1 && W1_EEPROM
default y if W1
bool "w1 - Support for Dallas 1-Wire protocol"
help
--
2.43.0
More information about the U-Boot
mailing list