From: Jerome Forissier Date: Tue, 12 Nov 2024 15:44:29 +0000 (+0100) Subject: Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=deb9a07cf167f68184fe782047bfd77c238276cd;p=u-boot.git Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT Some Kconfig symbols introduced in commit 8cb330355bd5 ("net: introduce alternative implementation as net/lwip/") need a full description. The NET symbol needs one, too. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas --- diff --git a/Kconfig b/Kconfig index eb55f2511d..1f5b0f1972 100644 --- a/Kconfig +++ b/Kconfig @@ -765,10 +765,15 @@ choice config NO_NET bool "No networking support" + help + Do not include networking support config NET bool "Legacy U-Boot networking stack" imply 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" diff --git a/net/lwip/Kconfig b/net/lwip/Kconfig index a9ae9bf7fa..40345ced9c 100644 --- a/net/lwip/Kconfig +++ b/net/lwip/Kconfig @@ -6,9 +6,16 @@ if NET_LWIP config LWIP_DEBUG bool "Enable debug traces in the lwIP library" + help + Prints messages to the console regarding network packets that go in + and out of the lwIP library. config LWIP_ASSERT bool "Enable assertions in the lwIP library" + help + Compiles additional error checking code into the lwIP library. These + checks are related to conditions that should not happen in typical + use, but may be helpful to debug new features. config PROT_DHCP_LWIP bool