net: Move the DHCP command below the BOOTP command

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>
This commit is contained in:
Joe Hershberger 2018-04-13 15:26:33 -05:00
parent 92fa44d58f
commit e88b2563dd
1 changed files with 6 additions and 6 deletions

View 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