diff mbox

[U-Boot,2/2] README: improve documentation of network related CONFIG_ settings

Message ID 1319660482-14395-2-git-send-email-wd@denx.de
State Accepted
Commit 1ebcd6547f342900ed7face567e4a27c78a02945
Headers show

Commit Message

Wolfgang Denk Oct. 26, 2011, 8:21 p.m. UTC
Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK;
also add information which environment variables are set.

Signed-off-by: Wolfgang Denk <wd@denx.de>
---
 README |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

Comments

Simon Glass Oct. 27, 2011, 12:20 a.m. UTC | #1
On Wed, Oct 26, 2011 at 1:21 PM, Wolfgang Denk <wd@denx.de> wrote:
> Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK;
> also add information which environment variables are set.
>
> Signed-off-by: Wolfgang Denk <wd@denx.de>

More docs = better

Acked-by: Simon Glass <sjg@chromium.org>

> ---
>  README |   19 +++++++++++++++++++
>  1 files changed, 19 insertions(+), 0 deletions(-)
>
> diff --git a/README b/README
> index 9e0ab58..60a105f 100644
> --- a/README
> +++ b/README
> @@ -1432,18 +1432,37 @@ The following options need to be configured:
>                Define a default value for the IP address to use for
>                the default Ethernet interface, in case this is not
>                determined through e.g. bootp.
> +               (Environment variable "ipaddr")
>
>  - Server IP address:
>                CONFIG_SERVERIP
>
>                Defines a default value for the IP address of a TFTP
>                server to contact when using the "tftboot" command.
> +               (Environment variable "serverip")
>
>                CONFIG_KEEP_SERVERADDR
>
>                Keeps the server's MAC address, in the env 'serveraddr'
>                for passing to bootargs (like Linux's netconsole option)
>
> +- Gateway IP address:
> +               CONFIG_GATEWAYIP
> +
> +               Defines a default value for the IP address of the
> +               default router where packets to other networks are
> +               sent to.
> +               (Environment variable "gatewayip")
> +
> +- Subnet mask:
> +               CONFIG_NETMASK
> +
> +               Defines a default value for the subnet mask (or
> +               routing prefix) which is used to determine if an IP
> +               address belongs to the local subnet or needs to be
> +               forwarded through a router.
> +               (Environment variable "netmask")
> +
>  - Multicast TFTP Mode:
>                CONFIG_MCAST_TFTP
>
> --
> 1.7.6.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
Wolfgang Denk Oct. 27, 2011, 9:44 p.m. UTC | #2
Dear Wolfgang Denk,

In message <1319660482-14395-2-git-send-email-wd@denx.de> you wrote:
> Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK;
> also add information which environment variables are set.
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> ---
>  README |   19 +++++++++++++++++++
>  1 files changed, 19 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/README b/README
index 9e0ab58..60a105f 100644
--- a/README
+++ b/README
@@ -1432,18 +1432,37 @@  The following options need to be configured:
 		Define a default value for the IP address to use for
 		the default Ethernet interface, in case this is not
 		determined through e.g. bootp.
+		(Environment variable "ipaddr")
 
 - Server IP address:
 		CONFIG_SERVERIP
 
 		Defines a default value for the IP address of a TFTP
 		server to contact when using the "tftboot" command.
+		(Environment variable "serverip")
 
 		CONFIG_KEEP_SERVERADDR
 
 		Keeps the server's MAC address, in the env 'serveraddr'
 		for passing to bootargs (like Linux's netconsole option)
 
+- Gateway IP address:
+		CONFIG_GATEWAYIP
+
+		Defines a default value for the IP address of the
+		default router where packets to other networks are
+		sent to.
+		(Environment variable "gatewayip")
+
+- Subnet mask:
+		CONFIG_NETMASK
+
+		Defines a default value for the subnet mask (or
+		routing prefix) which is used to determine if an IP
+		address belongs to the local subnet or needs to be
+		forwarded through a router.
+		(Environment variable "netmask")
+
 - Multicast TFTP Mode:
 		CONFIG_MCAST_TFTP