]> git.karo-electronics.de Git - karo-tx-linux.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)
commitba4f46b28f87396d3270d05d8d0e08467471b7fb
tree09a1a2c22d26e24367bb35cea61bb014a7137047
parente4225ae8234cf5548c38dc887b233ad1d45b4d53
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