Documentation: dt: mtd: drop "soft_bch" from example
authorBaruch Siach <baruch@tkos.co.il>
Wed, 25 May 2016 03:45:10 +0000 (06:45 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 27 May 2016 16:56:26 +0000 (09:56 -0700)
Commit 32698aafc9f0 (Documentation: devicetree: deprecate "soft_bch"
nand-ecc-mode value, 2016-04-22) deprecated "soft_bch". Update the example to
match.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/nand.txt

index 68342eac23833951c272b5153874cdd6f774db5f..3733300de8dd949bd822154c469aabcc75b40520 100644 (file)
@@ -53,7 +53,8 @@ Example:
 
                nand@0 {
                        reg = <0>;
-                       nand-ecc-mode = "soft_bch";
+                       nand-ecc-mode = "soft";
+                       nand-ecc-algo = "bch";
 
                        /* controller specific properties */
                };