
This serie is a V3 for http://patchwork.ozlabs.org/project/uboot/list/?series=262017&state=* http://patchwork.ozlabs.org/project/uboot/list/?series=262013&state=*
Now the SPI nor are named "norN" with N after the CFI nor device: "nor0" to "norM" => N= M+1.
See also an other proposal from Marek (not working after test) "mtd: spi-nor: Fix SF MTDIDS when registering multiple MTDs with DM enabled"
http://patchwork.ozlabs.org/project/uboot/list/?series=262362
The first patch of the serie fixed the compilation issues around 'cfi_flash_num_flash_banks' found in CI:
https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/9138
Patrick
Changes in v3: - NEW: solve compilation issue when CONFIG_SYS_MAX_FLASH_BANKS is used - start index after the last CFI device, use CONFIG_SYS_MAX_FLASH_BANKS
Changes in v2: - correct commit message
Patrick Delaunay (2): mtd: cfi_flash: use cfi_flash_num_flash_banks only when supported mtd: spi: nor: force mtd name to "nor%d"
drivers/mtd/spi/spi-nor-core.c | 15 ++++++++++++--- include/linux/mtd/spi-nor.h | 1 + include/mtd/cfi_flash.h | 8 +++++++- 3 files changed, 20 insertions(+), 4 deletions(-)