From: E Shattow <e@freeshell.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Marek Vasut <marex@nabladev.com>,
Alexander Koch <akoch@initse.com>,
David Lechner <dlechner@baylibre.com>,
Flaviu Nistor <flaviu.nistor@gmail.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Takahiro Kuwano <takahiro.kuwano@infineon.com>,
Tom Rini <trini@konsulko.com>,
Tudor Ambarus <tudor.ambarus@linaro.org>,
Vignesh R <vigneshr@ti.com>,
u-boot@lists.u-boot-project.org
Subject: Re: [PATCH] mtd: spi-nor: Indent SF: just like other boot time messages
Date: Sun, 25 Oct 2026 07:18:35 -0700 [thread overview]
Message-ID: <d38f0eb8-de5c-46ff-a686-5205637c2972@freeshell.de> (raw)
In-Reply-To: <jwvqzhdho45.fsf-monnier+Inbox@gnu.org>
Hi Stefan,
On 10/25/26 07:10, Stefan Monnier wrote:
> E Shattow [2026-10-25 06:29:43] wrote:
>
>> On 10/24/26 11:05, Marek Vasut wrote:
>>> On 10/24/26 5:14 PM, Stefan Monnier wrote:
>>>>> to the fixed indent:
>>>>>
>>>>> "
>>>>> DRAM: 3.5 GiB
>>>>> Core: 310 devices, 34 uclasses, devicetree: separate
>>>>> SF: Detected w25q128jw with page size 256 Bytes, erase size
>>>>> 4 KiB, total 16 MiB
>>>>> ^^^
>>>>
>>>> I'm probably not the targeted audience, but FWIW, I find the meaning of
>>>> "SF" non-obvious, so maybe instead of adding spaces, we could use those
>>>> 3 extra characters to come up with a slightly more
>>>> self-explanatory abbreviation?
>>> SF is SPI Flash , it is used all over the code base.
>
> Yes, that's indeed how I figured what it meant, but it would be better
> if users could figure that out without having to consult the source code.
>
>> I also find the meaning of "SF" non-obvious, and nothing better comes to
>> mind to abbreviate it. You cannot get to "sf" command from "spi flash"
>> or "flash" commands. If the probe message would say "SPI [NOR|NAND]
>> Flash detected ...." or "SPI: [NOR|NAND] Flash detected ..." it would
>
> How 'bout
>
> SPI: 16MB flash (w25q128jw) with page size 256 Bytes, erase size 4 KiB
>
>
> === Stefan
>
If we can spare the bytes then "SF: SPI Flash 16MB w25q128jw with page
size 256 Bytes, erase size" answers the context concern for me. The name
of the config is SPI_FLASH so doing anything in a different order or to
be clever is not as good to my eye.
'sf' command is only ever used for NOR? Never NAND?
Also don't take this as changes requested from me, I'd just as soon
leave it alone. I'm acknowledging that it's awkward and if you want to
make it better I'll give an opinion on it, but that's it. ;)
-E
next prev parent reply other threads:[~2026-10-25 14:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 22:45 [PATCH] mtd: spi-nor: Indent SF: just like other boot time messages Marek Vasut
2026-10-24 14:23 ` Tom Rini
2026-10-24 21:27 ` Marek Vasut
2026-10-24 15:14 ` Stefan Monnier
2026-10-24 18:05 ` Marek Vasut
2026-10-25 13:29 ` E Shattow
2026-10-25 14:10 ` Stefan Monnier
2026-10-25 14:18 ` E Shattow [this message]
2026-10-26 8:25 ` Miquel Raynal
2026-10-26 11:07 ` E Shattow
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=d38f0eb8-de5c-46ff-a686-5205637c2972@freeshell.de \
--to=e@freeshell.de \
--cc=akoch@initse.com \
--cc=dlechner@baylibre.com \
--cc=flaviu.nistor@gmail.com \
--cc=marex@nabladev.com \
--cc=miquel.raynal@bootlin.com \
--cc=monnier@iro.umontreal.ca \
--cc=takahiro.kuwano@infineon.com \
--cc=trini@konsulko.com \
--cc=tudor.ambarus@linaro.org \
--cc=u-boot@lists.u-boot-project.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.