From: Sean Anderson <seanga2@gmail.com>
To: MD Danish Anwar <danishanwar@ti.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Michal Simek <michal.simek@amd.com>,
Simon Glass <sjg@chromium.org>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de, srk@ti.com,
Vignesh Raghavendra <vigneshr@ti.com>,
r-gunasekaran@ti.com, Roger Quadros <rogerq@kernel.org>
Subject: Re: [PATCH v5] misc: fs-loader: Use fw_storage_interface instead of storage_interface
Date: Tue, 27 Feb 2024 09:03:56 -0500 [thread overview]
Message-ID: <04e7a4b8-a264-5d9c-a0b5-c985d5f35cb8@gmail.com> (raw)
In-Reply-To: <40bd8620-9fad-4c7b-9f28-4ab8a3e0365a@ti.com>
Hi Danish,
On 2/27/24 05:26, MD Danish Anwar wrote:
> On 09/02/24 3:38 pm, 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. This is to keep all variables used by fs-loader driver with
>> 'fw_' prefix. All other variables have 'fw_' prefix except for
>> storage_interface.
>>
>> The env storage_interface will act as fallback so that the
>> existing implementations do not break.
>>
>> Also update the FS Loader documentation accordingly.
>>
>> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
>> ---
>
> Hi Tom / Sean, can you please pick this patch if there is no pending
> comments to address.
>
Sorry, I forgot to respond to this earlier.
To be honest, I'm not really convinced. We have plenty of environmental
variables which are inconsistent (e.g. ethaddr, eth2addr, eth3addr) and it
doesn't cause any issues. While fixing code has no cost, the environment
is an ABI which we can't break. So we'd have to support both of these
variables forever. I'm not really a fan of doing that without good reason,
and I think aesthetics of the variable name isn't really compelling.
--Sean
next prev parent reply other threads:[~2024-02-27 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-09 10:08 [PATCH v5] misc: fs-loader: Use fw_storage_interface instead of storage_interface MD Danish Anwar
2024-02-27 10:26 ` MD Danish Anwar
2024-02-27 14:03 ` Sean Anderson [this message]
2024-02-28 9:02 ` MD Danish Anwar
2024-02-28 9:45 ` Roger Quadros
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=04e7a4b8-a264-5d9c-a0b5-c985d5f35cb8@gmail.com \
--to=seanga2@gmail.com \
--cc=danishanwar@ti.com \
--cc=ilias.apalodimas@linaro.org \
--cc=michal.simek@amd.com \
--cc=neil.armstrong@linaro.org \
--cc=r-gunasekaran@ti.com \
--cc=rogerq@kernel.org \
--cc=sjg@chromium.org \
--cc=srk@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.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