]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
boot: remove NO_NET use
authorQuentin Schulz <quentin.schulz@cherry.de>
Mon, 20 Apr 2026 11:36:12 +0000 (13:36 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Apr 2026 17:26:40 +0000 (11:26 -0600)
NO_NET is now a transitional symbol which may eventually be removed. Its
meaning is the opposite of the new meaning of NET (that is, any
networking stack).

Update the symbol dependency by using NET instead of !NO_NET.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/Kconfig

index be6bb6d453559ee100576e6058ce879aa00622aa..ae6f09a6ede693aed021de292420a08a911cdfe6 100644 (file)
@@ -431,12 +431,12 @@ config BOOT_DEFAULTS_CMDS
        select CMD_FAT
        select CMD_FS_GENERIC
        select CMD_PART if PARTITIONS
-       select CMD_DHCP if CMD_NET && !NO_NET
-       select CMD_PING if CMD_NET && !NO_NET
-       select CMD_PXE if CMD_NET && !NO_NET
+       select CMD_DHCP if CMD_NET && NET
+       select CMD_PING if CMD_NET && NET
+       select CMD_PXE if CMD_NET && NET
        select CMD_BOOTI if ARM64 && LMB
        select CMD_BOOTZ if ARM && !ARM64 && LMB
-       imply CMD_MII if CMD_NET && !NO_NET
+       imply CMD_MII if CMD_NET && NET
 
 config BOOT_DEFAULTS
        bool  # Common defaults for standard boot and distroboot