]> git.sur5r.net Git - u-boot/commitdiff
net: Move the DHCP command below the BOOTP command
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:26:33 +0000 (15:26 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:48:09 +0000 (15:48 -0500)
Move DHCP to directly follow BOOTP so that Kconfig can show the
dependency as a hierarchy.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Duncan Hare <dh@synoia.com>
cmd/Kconfig

index 7f47819e7748004c42477f1dd916088dd300ea47..a89d5acf1968bbc140c0b5ffcb439e4ff03d08dd 100644 (file)
@@ -1035,6 +1035,12 @@ config CMD_BOOTP
        help
          bootp - boot image via network using BOOTP/TFTP protocol
 
+config CMD_DHCP
+       bool "dhcp"
+       depends on CMD_BOOTP
+       help
+         Boot image via network using DHCP/TFTP protocol
+
 config BOOTP_BOOTPATH
        bool "Enable BOOTP BOOTPATH"
        depends on CMD_BOOTP
@@ -1108,12 +1114,6 @@ config CMD_RARP
        help
          Boot image via network using RARP/TFTP protocol
 
-config CMD_DHCP
-       bool "dhcp"
-       depends on CMD_BOOTP
-       help
-         Boot image via network using DHCP/TFTP protocol
-
 config CMD_NFS
        bool "nfs"
        default y