[PATCH u-boot-dm + u-boot-spi v2 0/7] Support SPI NORs and OF partitions in `mtd list`

Marek Behun marek.behun at nic.cz
Wed Feb 10 15:52:53 CET 2021


On Wed, 10 Feb 2021 15:31:56 +0100
Patrice CHOTARD <patrice.chotard at foss.st.com> wrote:

> and what about <name from SPI id>@<chip select> as shown in my previous email ?

And there is a second problem with this: this can be bad for automatic
U-Boot scripts.

For example on Turris Omnia there are boards which were manufactured
with a Macronix SPI-NOR, and boards which were manufactured with
Winbond SPI-NOR (or Spansion or something different from Macronix).

So I think that there should be some mechanism available via the mtd
command to select the SPI-NOR by its chip select somehow, without
knowing the SPI ID.


More information about the U-Boot mailing list