diff mbox series

[U-Boot,v2,04/11] net: Move the DHCP command below the BOOTP command

Message ID 1523651200-31456-5-git-send-email-joe.hershberger@ni.com
State Accepted
Commit e88b2563ddab6fcee8bf0be40811c8bc6b1ccadb
Delegated to: Joe Hershberger
Headers show
Series net: Clean up the menus and dependencies among commands and options | expand

Commit Message

Joe Hershberger April 13, 2018, 8:26 p.m. UTC
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>
---

Changes in v2: None

 cmd/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Joe Hershberger April 15, 2018, 4:16 a.m. UTC | #1
Hi Joe,

https://patchwork.ozlabs.org/patch/898093/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git

Thanks!
-Joe
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7f47819..a89d5ac 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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