[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:49:50 CET 2021


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

> > So one solution is to use device-tree name to select the NOR, but still
> > print the name determined from SPI ID somewhere.
> > 
> > Second solution is to allow selecting the SPI by number, i.e. (the n-th
> > enumerated SPI).  
> 
> and what about <name from SPI id>@<chip select> as shown in my previous email ?

That could be one solution, but there would still be a collision if
there were multiple SPI controllers. It is possible to have two
identical SPI-NORs connected to 2 different SPI controllers on the same
chip select. But maybe this situation is rare enough that we can ignore
it.


More information about the U-Boot mailing list