Convert CONFIG_HOSTNAME et al to Kconfig
[platform/kernel/u-boot.git] / net / Kconfig
index ef0aa16..4215889 100644 (file)
@@ -25,6 +25,15 @@ config PROT_UDP
          Enable a generic udp framework that allows defining a custom
          handler for udp protocol.
 
+config BOOTDEV_ETH
+       bool "Enable bootdev for ethernet"
+       depends on BOOTSTD
+       default y
+       help
+         Provide a bootdev for ethernet so that is it possible to boot
+         an operationg system over the network, using the PXE (Preboot
+         Execution Environment) protocol.
+
 config BOOTP_SEND_HOSTNAME
        bool "Send hostname to DNS server"
        help
@@ -149,7 +158,7 @@ config UDP_CHECKSUM
        default y if SANDBOX
        help
          Enable this to verify the checksum on UDP packets. If the checksum
-         is wrong then the packet is discussed and an error is shown, like
+         is wrong then the packet is discarded and an error is shown, like
          "UDP wrong checksum 29374a23 30ff3826"
 
 config BOOTP_SERVERIP
@@ -159,6 +168,90 @@ config BOOTP_SERVERIP
          variable, not the BOOTP server. This affects the operation of both
          bootp and tftp.
 
+config BOOTP_MAX_ROOT_PATH_LEN
+       int "Option 17 root path length"
+       default 64
+       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
+         Enable a generic tcp framework that allows defining a custom
+         handler for tcp protocol.
+
+config PROT_TCP_SACK
+       bool "TCP SACK support"
+       depends on PROT_TCP
+       help
+         TCP protocol with SACK. SACK means selective acknowledgements.
+         By turning this option on TCP will learn what segments are already
+         received. So that it improves TCP's retransmission efficiency.
+         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