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

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Fri Feb 20 15:33:11 CET 2026


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



More information about the U-Boot mailing list