diff mbox series

[U-Boot,5/9] net: Add the BOOTP_DNS2 option to Kconfig

Message ID 1522270276-28631-6-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
Commit 3b3ea2c56ec4bc5 ("Kconfig: cmd: Make networking command dependent on NET")
removed the help documentation from the README but didn't add it back to Kconfig.

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

 cmd/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Chris Packham March 29, 2018, 3:19 a.m. UTC | #1
On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger <joe.hershberger@ni.com> wrote:
> Commit 3b3ea2c56ec4bc5 ("Kconfig: cmd: Make networking command dependent on NET")
> removed the help documentation from the README but didn't add it back to Kconfig.
>
> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>

Reviewed-by: Chris Packham <judge.packham@gmail.com>

> ---
>
>  cmd/Kconfig | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 76fd111..db75759 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1045,6 +1045,17 @@ config BOOTP_DNS
>           returned, you must set BOOTP_DNS2 to store that second server IP
>           also.
>
> +config BOOTP_DNS2
> +       bool "Store 'dnsip2' from BOOTP/DHCP server"
> +       depends on BOOTP_DNS
> +       help
> +         If a DHCP client requests the DNS server IP from a DHCP server,
> +         it is possible that more than one DNS serverip is offered to the
> +         client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
> +         server IP will be stored in the additional environment
> +         variable "dnsip2". The first DNS serverip is always
> +         stored in the variable "dnsip", when BOOTP_DNS is defined.
> +
>  config BOOTP_GATEWAY
>         bool "Request & store 'gatewayip' from BOOTP/DHCP server"
>         depends on CMD_BOOTP
> --
> 1.7.11.5
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Duncan Hare March 29, 2018, 4:39 p.m. UTC | #2
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 5/9] net: Add the BOOTP_DNS2 option to Kconfig
   
Commit 3b3ea2c56ec4bc5 ("Kconfig: cmd: Make networking command dependent on NET")
removed the help documentation from the README but didn't add it back to Kconfig.

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

 cmd/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 76fd111..db75759 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1045,6 +1045,17 @@ config BOOTP_DNS
       returned, you must set BOOTP_DNS2 to store that second server IP
       also.
 
+config BOOTP_DNS2
+    bool "Store 'dnsip2' from BOOTP/DHCP server"
+    depends on BOOTP_DNS
+    help
+      If a DHCP client requests the DNS server IP from a DHCP server,
+      it is possible that more than one DNS serverip is offered to the
+      client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
+      server IP will be stored in the additional environment
+      variable "dnsip2". The first DNS serverip is always
+      stored in the variable "dnsip", when BOOTP_DNS is defined.
+
 config BOOTP_GATEWAY
     bool "Request & store 'gatewayip' from BOOTP/DHCP server"
     depends on CMD_BOOTP
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 76fd111..db75759 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1045,6 +1045,17 @@  config BOOTP_DNS
 	  returned, you must set BOOTP_DNS2 to store that second server IP
 	  also.
 
+config BOOTP_DNS2
+	bool "Store 'dnsip2' from BOOTP/DHCP server"
+	depends on BOOTP_DNS
+	help
+	  If a DHCP client requests the DNS server IP from a DHCP server,
+	  it is possible that more than one DNS serverip is offered to the
+	  client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
+	  server IP will be stored in the additional environment
+	  variable "dnsip2". The first DNS serverip is always
+	  stored in the variable "dnsip", when BOOTP_DNS is defined.
+
 config BOOTP_GATEWAY
 	bool "Request & store 'gatewayip' from BOOTP/DHCP server"
 	depends on CMD_BOOTP