[PATCH v2] mtd: rawnand: marvell: fix layouts

Miquel Raynal miquel.raynal at bootlin.com
Mon Feb 5 07:17:43 PST 2024


Hi Elad,

enachman at marvell.com wrote on Mon, 5 Feb 2024 15:44:35 +0200:

> From: Elad Nachman <enachman at marvell.com>
> 
> The check in nand_base.c, nand_scan_tail() : has the following code:
> (ecc->steps * ecc->size != mtd->writesize) which fails for some NAND chips.
> Remove ECC entries in this driver which are not integral multiplications,
> and adjust the number of chunks for entries which fails the above
> calculation so it will calculate correctly (this was previously done
> automatically before the check and was removed in a later commit).

I don't know why linux-mtd does not collect your patches, for this time
I applied it manually to mtd/fixes.

See, linux-mtd lore link is broken, but linux-stable collected
correctly:
https://lore.kernel.org/linux-mtd/20240205134435.2769452-1-enachman@marvell.com/

Thanks,
Miquèl



More information about the linux-mtd mailing list