diff mbox series

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

Message ID 20241112154429.1532647-1-jerome.forissier@linaro.org
State Accepted
Commit deb9a07cf167f68184fe782047bfd77c238276cd
Headers show
Series [v2] Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT | expand

Commit Message

Jerome Forissier Nov. 12, 2024, 3:44 p.m. UTC
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@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
 Kconfig          | 5 +++++
 net/lwip/Kconfig | 7 +++++++
 2 files changed, 12 insertions(+)

Changes in v2:

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

Comments

Tom Rini Nov. 19, 2024, 1:53 p.m. UTC | #1
On Tue, 12 Nov 2024 16:44:29 +0100, Jerome Forissier wrote:

> Some Kconfig symbols introduced in commit 8cb330355bd5 ("net: introduce
> alternative implementation as net/lwip/") need a full description. The
> NET symbol needs one, too.
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

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