[PATCH] dfu: Correct dependencies for DFU_TFTP

Tom Rini trini at konsulko.com
Tue Mar 17 02:24:35 CET 2026


As exposed by "make randconfig", we have an issue with the dependencies
for DFU_TFTP. This really depends on the legacy networking stack being
enabled, not just lwIP not being enabled (as it will fail in the NO_NET
case).

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
---
 drivers/dfu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 962bda40ad2d..1d5d8caa7daa 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -20,7 +20,7 @@ if DFU
 config DFU_TFTP
 	bool "DFU via TFTP"
 	depends on NETDEVICES
-	depends on !NET_LWIP
+	depends on NET # Legacy stack only
 	select UPDATE_COMMON
 	select DFU_OVER_TFTP
 	help
-- 
2.43.0



More information about the U-Boot mailing list