Convert CONFIG_HOSTNAME et al to Kconfig
[platform/kernel/u-boot.git] / net / Kconfig
index cb600fe..4215889 100644 (file)
@@ -174,6 +174,58 @@ config BOOTP_MAX_ROOT_PATH_LEN
        help
          Select maximal length of option 17 root path.
 
+config USE_GATEWAYIP
+       bool "Set a default 'gateway' value in the environment"
+       help
+         Defines a default value for the IP address of the default router
+         where packets to other networks are sent to.  (Environment variable
+         "gatewayip")
+
+config GATEWAYIP
+       string "Value of the default 'gateway' value in the environment"
+       depends on USE_GATEWAYIP
+
+config USE_IPADDR
+       bool "Set a default 'ipaddr' value in the environment"
+       help
+         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")
+
+config IPADDR
+       string "Value of the default 'ipaddr' value in the environment"
+       depends on USE_IPADDR
+
+config USE_NETMASK
+       bool "Set a default 'netmask' value in the environment"
+       help
+         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")
+
+config NETMASK
+       string "Value of the default 'netmask' value in the environment"
+       depends on USE_NETMASK
+
+config USE_ROOTPATH
+       bool "Set a default 'rootpath' value in the environment"
+
+config ROOTPATH
+       string "Value of the default 'rootpath' value in the environment"
+       depends on USE_ROOTPATH
+       default "/opt/nfsroot"
+
+config USE_SERVERIP
+       bool "Set a default 'serverip' value in the environment"
+       help
+         Defines a default value for the IP address of a TFTP server to
+         contact when using the "tftboot" command.  (Environment variable
+         "serverip")
+
+config SERVERIP
+       string "Value of the default 'serverip' value in the environment"
+       depends on USE_SERVERIP
+
 config PROT_TCP
        bool "TCP stack"
        help
@@ -190,6 +242,16 @@ config PROT_TCP_SACK
          This option should be turn on if you want to achieve the fastest
          file transfer possible.
 
+config IPV6
+       bool "IPv6 support"
+       help
+         Enable IPv6 support. It includes Neighbour Discovery protocol, ICMPv6
+         and auxiliary stuff to make it work. Since it is enabled u-boot
+         network subsystem can get and handle incoming packets and send packets
+         through IPv6 network. It allows to use environment variables such as
+         ip6addr, serverip6. If a u-boot command is capable to parse an IPv6
+         address and find it, it will force using IPv6 in the network stack.
+
 endif   # if NET
 
 config SYS_RX_ETH_BUFFER