]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd: dhcp: Select CMD_BOOTP
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 25 Mar 2026 01:06:47 +0000 (02:06 +0100)
committerJerome Forissier <jerome.forissier@arm.com>
Tue, 31 Mar 2026 14:54:49 +0000 (16:54 +0200)
The DHCP command depends on bootp_reset() function, which is implemented
only if CMD_BOOTP is enabled. Select CMD_BOOTP to satisfy the dependency.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
cmd/Kconfig

index 3fd426d3d442032130366f43215ae4e5ef053ae4..81c64d9ba858f4e8cd838e1bd08b07d0a3fbc0ad 100644 (file)
@@ -2195,6 +2195,7 @@ endif  # if NET
 config CMD_DHCP
        bool "dhcp"
        select PROT_DHCP_LWIP if NET_LWIP
+       select CMD_BOOTP
        help
          Boot image via network using DHCP/TFTP protocol