[PATCH] net: Kconfig: Select DM_RNG for LWIP

Michal Simek michal.simek at amd.com
Mon Feb 3 16:03:00 CET 2025


LWIP wget.c/mbedtls_hardware_poll() is calling dm_rng_read() but dependency
is not recorded anywhere that's why select DM_RNG when LWIP stack i used.

Signed-off-by: Michal Simek <michal.simek at amd.com>
---

 net/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/Kconfig b/net/Kconfig
index 24508026200d..6c684624fd6f 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -249,6 +249,7 @@ config WGET
 	select PROT_TCP if NET
 	select PROT_TCP_LWIP if NET_LWIP
 	select PROT_DNS_LWIP if NET_LWIP
+	select DM_RNG if NET_LWIP
 	help
 	  Selecting this will enable wget, an interface to send HTTP requests
 	  via the network stack.
-- 
2.43.0



More information about the U-Boot mailing list