[PATCH 6.12.y 0/3] Backport fixes for SPI NAND on i.MX6UL

Frieder Schrempf frieder at fris.de
Tue Aug 11 09:13:35 PDT 2026


From: Frieder Schrempf <frieder.schrempf at kontron.de>

There are failures with our Kontron i.MX6UL boards using Macronix SPI NAND
chips on i.MX6UL that originate in the introduction of the continuous read
feature in 6.12 (631cfdd0520d19b7f4fc13b834fd9c8b46c6dbac) and the absence
of later fixes introduced in 6.18 that were never backported.

This series contains these fixes picked from mainline, applying to stable 6.12
cleanly.

Cc: stable at vger.kernel.org
Cc: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
Cc: Miquel Raynal <miquel.raynal at bootlin.com>
Cc: linux-mtd at lists.infradead.org

Mikhail Kshevetskiy (3):
  mtd: spinand: fix direct mapping creation sizes
  mtd: spinand: try a regular dirmap if creating a dirmap for continuous
    reading fails
  mtd: spinand: repeat reading in regular mode if continuous reading
    fails

 drivers/mtd/nand/spi/core.c | 74 +++++++++++++++++++++++++++++--------
 1 file changed, 59 insertions(+), 15 deletions(-)

-- 
2.55.0



More information about the linux-mtd mailing list