[PATCH v2] Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT

Jerome Forissier jerome.forissier at linaro.org
Tue Nov 12 16:44:29 CET 2024


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 <jerome.forissier at linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
---
 Kconfig          | 5 +++++
 net/lwip/Kconfig | 7 +++++++
 2 files changed, 12 insertions(+)

Changes in v2:

- s/linrary/library/
- s/own/internal/

diff --git a/Kconfig b/Kconfig
index eb55f2511d9..1f5b0f1972d 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 8a67de4cf33..5d719a1e420 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
-- 
2.40.1



More information about the U-Boot mailing list