]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: add support for "nand-ecc-algo" DT property
authorRafał Miłecki <zajec5@gmail.com>
Fri, 22 Apr 2016 11:23:13 +0000 (13:23 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:55:14 +0000 (23:55 +0200)
commitf29a7d604a4346b05c7698e8be3fce28e4e9a5f8
tree09a1a2c22d26e24367bb35cea61bb014a7137047
parent94ecf9597fd57b63de8b72c4d7e9916842069cc6
mtd: nand: add support for "nand-ecc-algo" DT property

So far it was only possible to specify ECC algorithm using "soft" and
"soft_bch" values of nand-ecc-mode prop. There wasn't a way to specify
it for a hardware ECC mode.

Now that we have independent field in NAND subsystem for storing info
about ECC algorithm we may also add support for this new DT property.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Documentation/devicetree/bindings/mtd/nand.txt
drivers/mtd/nand/nand_base.c