[PATCH] dfu: Correct dependencies for DFU_TFTP

Mattijs Korpershoek mkorpershoek at kernel.org
Thu Mar 26 09:56:44 CET 2026


Hi Tom,

Thank you for the patch.

On Mon, Mar 16, 2026 at 19:24, Tom Rini <trini at konsulko.com> wrote:

> 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>

Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>

> ---
> 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