Commit e6a30d0
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: 68c18da ("mtd: rawnand: marvell: add missing layouts")
Cc: [email protected]
Signed-off-by: Elad Nachman <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>1 parent 5ab9bbf commit e6a30d0
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
295 | 294 | | |
296 | | - | |
297 | | - | |
298 | | - | |
| 295 | + | |
| 296 | + | |
299 | 297 | | |
300 | | - | |
301 | | - | |
302 | | - | |
| 298 | + | |
| 299 | + | |
303 | 300 | | |
304 | 301 | | |
305 | 302 | | |
| |||
0 commit comments