Hi James,

Thank you for the patch.

On Sat, Oct 10, 2026 at 18:37, James Hilliard <[email protected]> wrote:

> DFU-over-TFTP uses update_tftp(), which now dispatches through
> the stack-independent TFTP helper and no longer depends on legacy
> networking internals.
>
> Allow DFU_TFTP with either network stack and select the network
> commands required by the update path.
>
> Signed-off-by: James Hilliard <[email protected]>

Reviewed-by: Mattijs Korpershoek <[email protected]>

> ---
>  drivers/dfu/Kconfig | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
> index eeae2fd65ad..1cc2595eb01 100644
> --- a/drivers/dfu/Kconfig
> +++ b/drivers/dfu/Kconfig
> @@ -11,7 +11,7 @@ config DFU_OVER_USB
>  
>  config DFU_OVER_TFTP
>       bool
> -     depends on NET_LEGACY
> +     depends on NET
>  
>  config DFU_WRITE_ALT
>       bool
> @@ -20,9 +20,10 @@ if DFU
>  config DFU_TFTP
>       bool "DFU via TFTP"
>       depends on NETDEVICES
> -     depends on !NET_LWIP
>       select UPDATE_COMMON
>       select DFU_OVER_TFTP
> +     select CMD_NET
> +     select CMD_TFTPBOOT
>       help
>         This option allows performing update of DFU-managed medium with data
>         sent via TFTP boot.
>
> -- 
> 2.53.0

Reply via email to