U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: u-boot@lists.denx.de, git@xilinx.com,
	Adriano Cordova <adrianox@gmail.com>,
	Anand Moon <linux.amoon@gmail.com>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Ramon Fried <rfried.dev@gmail.com>, Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH] net: Kconfig: Select DM_RNG for LWIP
Date: Mon, 3 Feb 2025 16:22:43 +0100	[thread overview]
Message-ID: <dfc58bae-06c7-484f-be1b-a3c5acf58cd3@amd.com> (raw)
In-Reply-To: <CAC_iWjJ05Ge10G8KgXEqb7zuRboYxH7KVQC8FdrjptTfTpZ74g@mail.gmail.com>



On 2/3/25 16:13, Ilias Apalodimas wrote:
> Thanks Michal
> 
> On Mon, 3 Feb 2025 at 17:03, Michal Simek <michal.simek@amd.com> 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@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
> 
> There's a WGET_HTTPS symbol, I think we should add that there

You maybe right but there is only WGET symbol used.
obj-$(CONFIG_WGET) += wget.o

It means likely wget.c should be split to HTTP and HTTPS version or add some 
ifdefs to that file.
I of course prefer to fix this issue which is visible with microblaze 
configuration which one of my patch does.

Thanks,
Michal

  reply	other threads:[~2025-02-03 15:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-03 15:03 [PATCH] net: Kconfig: Select DM_RNG for LWIP Michal Simek
2025-02-03 15:13 ` Ilias Apalodimas
2025-02-03 15:22   ` Michal Simek [this message]
2025-02-03 16:17     ` Ilias Apalodimas
2025-02-03 15:13 ` Jerome Forissier
2025-02-04 11:22 ` Michal Simek
2025-02-04 15:49   ` Jerome Forissier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dfc58bae-06c7-484f-be1b-a3c5acf58cd3@amd.com \
    --to=michal.simek@amd.com \
    --cc=adrianox@gmail.com \
    --cc=git@xilinx.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=joe.hershberger@ni.com \
    --cc=linux.amoon@gmail.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=rfried.dev@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox