[U-Boot] [PATCH 3/9] net: Move the DHCP command below the BOOTP command

Duncan Hare dh at synoia.com
Thu Mar 29 16:51:45 UTC 2018



From: Joe Hershberger <joe.hershberger at ni.com>
 To: u-boot at lists.denx.de 
Cc: Heinrich <Schuchardt.xypron.debian at gmx.de>; Michal Simek <michal.simek at xilinx.com>; Simon Glass <sjg at chromium.org>; Duncan Hare <dh at synoia.com>; Tom Rini <trini at konsulko.com>; Maxime Ripard <maxime.ripard at bootlin.com>; Joe Hershberger <joe.hershberger at ni.com>
 Sent: Wednesday, March 28, 2018 1:53 PM
 Subject: [PATCH 3/9] 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 at ni.com>
---

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

diff --git a/cmd/Kconfig b/cmd/Kconfig
index d714f73..7ef9501 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1024,6 +1024,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
@@ -1097,12 +1103,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_PXE
     bool "pxe"
     select MENU
-- 
1.7.11.5

Reviewed by: Duncan Hare dh at synoia.com

   


More information about the U-Boot mailing list