From: Roger Quadros <rogerq@kernel.org>
To: MD Danish Anwar <danishanwar@ti.com>,
Sean Anderson <seanga2@gmail.com>, Qu Wenruo <wqu@suse.com>,
Michal Simek <michal.simek@amd.com>,
Simon Glass <sjg@chromium.org>, Stefan Roese <sr@denx.de>,
Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de, srk@ti.com,
Vignesh Raghavendra <vigneshr@ti.com>,
r-gunasekaran@ti.com
Subject: Re: [PATCH v4] misc: fs-loader: Use fw_storage_interface instead of storage_interface
Date: Thu, 8 Feb 2024 13:58:00 +0200 [thread overview]
Message-ID: <e72baacd-2af7-4e35-9e89-083a580125dc@kernel.org> (raw)
In-Reply-To: <0cf2369d-4d18-4cab-a28b-dc72d42ec136@ti.com>
On 08/02/2024 07:19, MD Danish Anwar wrote:
> Hi Sean,
>
> On 07/02/24 11:14 pm, Sean Anderson wrote:
>> On 1/30/24 01:26, MD Danish Anwar wrote:
>>> The fs-loader driver reads env storage_interface and uses it to load
>>> firmware file into memory using the medium set by env. Update the driver
>>> to use env fw_storage_interface as this variable is only used to load
>>> firmwares. The env storage_interface will act as fallback so that the
>>> existing implementations do not break.
>>>
>>> Also update the FS Loader documentation accordingly.
>>
>> So why do you want to do this? I don't see what the point of renaming the
>> variable is, since you are not e.g. adding any new functionality, and we
>> have to pay for the rename in code size.
>>
>
> I am upstreaming TI's ICSSG driver for u-boot and during code review
> Roger Quadros <rogerq@kernel.org> commented asking to rename this
> variable [1]. I think the motive here was to keep all variables used by
> fs-loader driver with 'fw_' prefix. All other variables had 'fw_' prefix
> except for storage_interface.
Can you please mention this motive in the Commit message?
>
> [1]
> https://lore.kernel.org/all/4721f3b9-f823-47f3-b4f3-ed40002af31b@kernel.org/
>
>> --Sean
>
--
cheers,
-roger
next prev parent reply other threads:[~2024-02-08 11:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 6:26 [PATCH v4] misc: fs-loader: Use fw_storage_interface instead of storage_interface MD Danish Anwar
2024-02-02 4:50 ` Ravi Gunasekaran
2024-02-07 17:44 ` Sean Anderson
2024-02-08 5:19 ` MD Danish Anwar
2024-02-08 11:58 ` Roger Quadros [this message]
2024-02-09 9:17 ` MD Danish Anwar
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=e72baacd-2af7-4e35-9e89-083a580125dc@kernel.org \
--to=rogerq@kernel.org \
--cc=danishanwar@ti.com \
--cc=michal.simek@amd.com \
--cc=r-gunasekaran@ti.com \
--cc=seanga2@gmail.com \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=srk@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
--cc=wqu@suse.com \
/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