mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC
authorXiangsheng Hou <xiangsheng.hou@mediatek.com>
Wed, 1 Feb 2023 02:15:00 +0000 (10:15 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 3 Feb 2023 18:09:44 +0000 (19:09 +0100)
commit4d21176f48124e06c3251af38350b05a50ac4b01
treef1177a33f799284de9bbd0992bb5024952969062
parent70d3cf76f937fbef9c55eaffe1c848208e1372e2
mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC

Add ECC support fot MT7986 IC, and change err_mask value with
GENMASK macro.

Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230201021500.26769-6-xiangsheng.hou@mediatek.com
drivers/mtd/nand/ecc-mtk.c