diff mbox series

[U-Boot,6/9] net: Improve BOOTP PXE config option

Message ID 1522270276-28631-7-git-send-email-joe.hershberger@ni.com
State Superseded
Delegated to: Joe Hershberger
Headers show
Series net: Clean up the menus and dependencies among commands and options | expand

Commit Message

Joe Hershberger March 28, 2018, 8:51 p.m. UTC
Improve the documentation and correct the listed dependencies.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---

 cmd/Kconfig | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Comments

Duncan Hare March 29, 2018, 4:38 p.m. UTC | #1
From: Joe Hershberger <joe.hershberger@ni.com>


 To: u-boot@lists.denx.de 
Cc: Heinrich <Schuchardt.xypron.debian@gmx.de>; Michal Simek <michal.simek@xilinx.com>; Simon Glass <sjg@chromium.org>; Duncan Hare <dh@synoia.com>; Tom Rini <trini@konsulko.com>; Maxime Ripard <maxime.ripard@bootlin.com>; Joe Hershberger <joe.hershberger@ni.com>
 Sent: Wednesday, March 28, 2018 1:53 PM
 Subject: [PATCH 6/9] net: Improve BOOTP PXE config option
   
Improve the documentation and correct the listed dependencies.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---

 cmd/Kconfig | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index db75759..cc059c4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1071,12 +1071,14 @@ config BOOTP_SUBNETMASK
     depends on CMD_BOOTP
 
 config BOOTP_PXE
-    bool "Enable BOOTP PXE"
-    depends on CMD_BOOTP
+    bool "Send PXE client arch to BOOTP/DHCP server"
+    depends on CMD_BOOTP && CMD_PXE
+    help
+      Supported for ARM, ARM64, and x86 for now.
 
 config BOOTP_PXE_CLIENTARCH
     hex
-    depends on CMD_BOOTP
+    depends on BOOTP_PXE
     default 0x16 if ARM64
     default 0x15 if ARM
     default 0 if X86
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index db75759..cc059c4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1071,12 +1071,14 @@  config BOOTP_SUBNETMASK
 	depends on CMD_BOOTP
 
 config BOOTP_PXE
-	bool "Enable BOOTP PXE"
-	depends on CMD_BOOTP
+	bool "Send PXE client arch to BOOTP/DHCP server"
+	depends on CMD_BOOTP && CMD_PXE
+	help
+	  Supported for ARM, ARM64, and x86 for now.
 
 config BOOTP_PXE_CLIENTARCH
 	hex
-	depends on CMD_BOOTP
+	depends on BOOTP_PXE
 	default 0x16 if ARM64
 	default 0x15 if ARM
 	default 0 if X86