[PATCH] net: Kconfig: Select DM_RNG for LWIP

Jerome Forissier jerome.forissier at linaro.org
Mon Feb 3 16:13:09 CET 2025



On 2/3/25 16:03, Michal Simek wrote:
> 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.

Acked-by: Jerome Forissier <jerome.forissier at linaro.org>

Thanks,
-- 
Jerome


More information about the U-Boot mailing list