Hi Elad,
enachman@marvell.com wrote on Wed, 3 Jan 2024 15:37:40 +0200:
From: Elad Nachman enachman@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).
Fixes: 68c18dae6888 ("mtd: rawnand: marvell: add missing layouts") Cc: stable@vger.kernel.org Signed-off-by: Elad Nachman enachman@marvell.com
For some reasons, your patch reached the lkml but not linux-mtd... At least it does not appear on lore nor patchwork. Can you please resend?
Thanks, Miquèl