Skip to contentSkip to conversation

w1: Correct dependencies for CMD_W1

PATCH In review Tom Rini 1 participant 2 messages Mar 23 – Apr 7

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 w1: Correct dependencies for CMD_W1

The CMD_W1 functionality can only work with both W1 and W1_EEPROM enabled, so express this dependency in Kconfig.

---
Cc: Peng Fan <[email protected]>

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index 7712cb9f3afe..a90102b8cd73 100644
@@ -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
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

The CMD_W1 functionality can only work with both W1 and W1_EEPROM enabled, so express this dependency in Kconfig.

Applied to u-boot/master, thanks!

[1/1] w1: Correct dependencies for CMD_W1

      commit: 7289867a8d73525da169e0f340686b5138b8e50a
Signature · 1 line
Tom