aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorViacheslav Mitrofanov2022-12-02 12:17:59 +0300
committerTom Rini2022-12-05 12:47:16 -0500
commit3cc04a3ab2dc45ce23c66a3fa7e2e8a0f0689141 (patch)
treea96fdc017f4bebc9408e0399b98e91c00da656a3 /net
parent33b5066a595661315ec236269b3154297d4cf779 (diff)
net: ipv6: Add IPv6 build options
Add options to Makefile and Kconfig file to build IPv6 Series-changes: 3 - Added help for IPv6 support Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig10
-rw-r--r--net/Makefile1
2 files changed, 11 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index cb600fe5eb4..a1ec3f8542e 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -190,6 +190,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
diff --git a/net/Makefile b/net/Makefile
index 4f757a224c2..00d6f9ddf0c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -21,6 +21,7 @@ obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
obj-$(CONFIG_NET) += eth_common.o
obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
obj-$(CONFIG_NET) += net.o
+obj-$(CONFIG_IPV6) += net6.o
obj-$(CONFIG_CMD_NFS) += nfs.o
obj-$(CONFIG_CMD_PING) += ping.o
obj-$(CONFIG_CMD_PCAP) += pcap.o