[PATCH v0 0/2] mtd: nand: allow unconventional NAND layouts
Aryan Srivastava
aryan.srivastava at alliedtelesis.co.nz
Thu Oct 23 17:19:40 PDT 2025
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.
Aryan Srivastava (2):
Revert "mtd: rawnand: marvell: fix layouts"
mtd: nand: relax ECC parameter validation check
drivers/mtd/nand/raw/marvell_nand.c | 13 ++++++++-----
drivers/mtd/nand/raw/nand_base.c | 13 ++++++++-----
2 files changed, 16 insertions(+), 10 deletions(-)
--
2.51.0
More information about the linux-mtd
mailing list