]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: gpmi: Add strict ecc strength check
authorHan Xu <han.xu@nxp.com>
Tue, 12 Apr 2022 02:52:43 +0000 (21:52 -0500)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 21 Apr 2022 07:34:04 +0000 (09:34 +0200)
commitd821b189818757b99ca28fdaa877b6607473264f
tree3f11bb1e78b90d3ee7fe558a545a710fdc8e322b
parent0c72d04af2655554e931e0aac7f84582607f1753
mtd: rawnand: gpmi: Add strict ecc strength check

Add nand_ecc_is_strong_enough() check in gpmi_check_ecc() function to
make sure ecc strength can meet chip requirement.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220412025246.24269-3-han.xu@nxp.com
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c