source "env/Kconfig"
-menu "Networking"
-
-choice
- prompt "Networking stack"
- default NET
-
-config NO_NET
- bool "No networking support"
- help
- Do not include networking support
-
-config NET
- bool "Legacy U-Boot networking stack"
- select NETDEVICES
- help
- Include networking support with U-Boot's internal implementation of
- the TCP/IP protocol stack.
-
-config NET_LWIP
- bool "Use lwIP for networking stack"
- select NETDEVICES
- help
- Include networking support based on the lwIP (lightweight IP)
- TCP/IP stack (https://nongnu.org/lwip). This is a replacement for
- the default U-Boot network stack and applications located in net/
- and enabled via CONFIG_NET as well as other pieces of code that
- depend on CONFIG_NET (such as cmd/net.c enabled via CONFIG_CMD_NET).
- Therefore the two symbols CONFIG_NET and CONFIG_NET_LWIP are mutually
- exclusive.
-
-endchoice
-
source "net/Kconfig"
-endmenu
-
source "drivers/Kconfig"
source "fs/Kconfig"
# Network configuration
#
+menu "Networking"
+
+choice
+ prompt "Networking stack"
+ default NET
+
+config NO_NET
+ bool "No networking support"
+ help
+ Do not include networking support
+
+config NET
+ bool "Legacy U-Boot networking stack"
+ select NETDEVICES
+ help
+ Include networking support with U-Boot's internal implementation of
+ the TCP/IP protocol stack.
+
+config NET_LWIP
+ bool "Use lwIP for networking stack"
+ select NETDEVICES
+ help
+ Include networking support based on the lwIP (lightweight IP)
+ TCP/IP stack (https://nongnu.org/lwip). This is a replacement for
+ the default U-Boot network stack and applications located in net/
+ and enabled via CONFIG_NET as well as other pieces of code that
+ depend on CONFIG_NET (such as cmd/net.c enabled via CONFIG_CMD_NET).
+ Therefore the two symbols CONFIG_NET and CONFIG_NET_LWIP are mutually
+ exclusive.
+
+endchoice
+
if NET
config ARP_TIMEOUT
controllers it is recommended to set this value to 8 or even higher,
since all buffers can be full shortly after enabling the interface on
high Ethernet traffic.
+
+endmenu