]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: raw: Add support for DT property nand-ecc-algo=bch
authorPali Rohár <pali@kernel.org>
Mon, 4 Apr 2022 16:17:21 +0000 (18:17 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit2d1f09b94f2fb05be0fbe0d75ed928a78013ed41
tree9f8afda05d937765bf63ef5456b728c8bd9b597f
parent0fe929c4f70bf9343cef08b8452d494f9117fd3f
mtd: nand: raw: Add support for DT property nand-ecc-algo=bch

According to Linux kernel DT schema nand-controller.yaml, using DT property
nand-ecc-algo=bch is the correct way for specifying BCH as ECC algorithm.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/mtd/nand/raw/nand_base.c