[PATCH 1/1] boot: availability of command mii for NET_LWIP

Tom Rini trini at konsulko.com
Fri Feb 20 15:39:30 CET 2026


On Fri, Feb 20, 2026 at 03:33:11PM +0100, Heinrich Schuchardt wrote:

> If we are using the legacy or the LWIP network stack,
> should not influence our decision to provide command `mii`.
> 
> Let BOOT_DEFAULTS_CMDS imply MII if either of the network
> stacks is available.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  boot/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/boot/Kconfig b/boot/Kconfig
> index e5db165424a..3f8f3e7cf35 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -435,7 +435,7 @@ config BOOT_DEFAULTS_CMDS
>  	select CMD_PXE if CMD_NET
>  	select CMD_BOOTI if ARM64
>  	select CMD_BOOTZ if ARM && !ARM64
> -	imply CMD_MII if NET
> +	imply CMD_MII if NET || NET_LWIP
>  
>  config BOOT_DEFAULTS
>  	bool  # Common defaults for standard boot and distroboot

This is fine, yes. Quentin, have you had more time for your series that
introduces a symbol to use for "networking is enabled" and separates
legacy from NET ?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260220/9aa62c2c/attachment.sig>


More information about the U-Boot mailing list