]> www.infradead.org Git - nvme.git/commitdiff
Merge tag 'spi-nor/for-6.11' into mtd/next
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 20 Jul 2024 12:24:26 +0000 (14:24 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 20 Jul 2024 12:24:26 +0000 (14:24 +0200)
SPI NOR changes for 6.11

Notable changes:

- Drop support for Xilinx S3AN flashes. These flashes are for the very
  old Xilinx Spartan 3 FPGAs and they need some awkward code in the core
  to support. Drop support for these flashes, along with the special
  handling we needed for them in the core like non-power-of-2 page size
  handling and the .setup() callback.

- Fix regression for old w25q128 flashes without SFDP tables. Commit
  83e824a4a595 ("mtd: spi-nor: Correct flags for Winbond w25q128")
  dropped support for such devices under the assumption that they aren't
  being used anymore. Users have now surfaced [0] so fix the regression
  by supporting both kind of devices.

- Core cleanups including removal of SPI_NOR_NO_FR flag and
  simplification of spi_nor_get_flash_info().

[0] https://lore.kernel.org/r/CALxbwRo_-9CaJmt7r7ELgu+vOcgk=xZcGHobnKf=oT2=u4d4aA@mail.gmail.com/

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

Trivial merge