mtd: rawnand: marvell: add missing layouts
authorAviram Dali <aviramd@marvell.com>
Fri, 16 Dec 2022 16:27:15 +0000 (18:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 2 Jan 2023 11:14:21 +0000 (12:14 +0100)
commit68c18dae68881054ed5426c00f0ed351b1db9bc0
tree7b3eef5f61a595f5e02730c75642d45d9adb982c
parent1b929c02afd37871d5afb9d498426f83432e71c2
mtd: rawnand: marvell: add missing layouts

A missing layouts were added to the driver to support NAND flashes
with ECC layouts of 12 or 16 with page sized of 2048, 4096 or 8192.

Usually theses are rare layouts, but in Marvell AC5 driver, the ECC
level is set according to the spare area, so we may use these layouts
more frequently.

Signed-off-by: Aviram Dali <aviramd@marvell.com>
Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221216162715.3230766-1-vadym.kochan@plvision.eu
drivers/mtd/nand/raw/marvell_nand.c