diff options
author | Elad Nachman <enachman@marvell.com> | 2024-02-05 15:44:35 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-02-05 16:16:24 +0100 |
commit | e6a30d0c48a1e8a68f1cc413bee65302ab03ddfb (patch) | |
tree | 914ffb854b5b9d2acea5f5236c4977038ace9ab2 /scripts/gdb | |
parent | 5ab9bbf6c678444dd99afabd44665e7f04047cc5 (diff) |
mtd: rawnand: marvell: fix layouts
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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions