[PATCH] net: Kconfig: Select DM_RNG for LWIP
Michal Simek
michal.simek at amd.com
Tue Feb 4 12:22: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.
Just a summary. Jerome and Ilias will look at solving this dependency in C file
not to have this dependency listed. WGET will work without RNG device but HTTPS
won't work. There is also connection to MBEDTLS which will be handled.
Thanks,
Michal
More information about the U-Boot
mailing list