[PATCH v0 0/2] mtd: nand: allow unconventional NAND layouts

Miquel Raynal miquel.raynal at bootlin.com
Tue Oct 28 08:59:03 PDT 2025


On Fri, 24 Oct 2025 13:19:40 +1300, Aryan Srivastava wrote:
> Currently validity checks in nand_scan_tail only allow NAND layouts with
> evenly sized chunks. This results in controllers which use
> unconventional layouts to fail these checks. To pass these checks
> the marvell_nand driver would incorrectly read pages (leaving out the
> unevenly sized chunk).
> 
> Relax this check and remove the change which modifies the layouts
> resulting in errounous read/writes.
> 
> [...]

Applied to nand/next, thanks!

[1/2] Revert "mtd: rawnand: marvell: fix layouts"
      commit: 6d22d96122026b62ed08d97fe585321c788913fc
[2/2] mtd: nand: relax ECC parameter validation check
      commit: 5ed7e59dd2c502b9f6850e3de69c58538cf27eff

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list