From: Marek Behun Date: Wed, 10 Feb 2021 15:49:50 +0100 Subject: [PATCH u-boot-dm + u-boot-spi v2 0/7] Support SPI NORs and OF partitions in `mtd list` In-Reply-To: References: <20210209144452.31134-1-marek.behun@nic.cz> <20210210151429.62c7ca93@nic.cz> Message-ID: <20210210154950.10fc94a2@nic.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 10 Feb 2021 15:31:56 +0100 Patrice CHOTARD 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 @ 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.