Documentation: dt: mtd: drop "soft_bch" from example

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri May 27 09:59:01 PDT 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=507e617440d70bc4269daac1b0ee96671bf2761a
Commit:     507e617440d70bc4269daac1b0ee96671bf2761a
Parent:     53b74ed2d0b4170764bf6d4cba6b786be1cab846
Author:     Baruch Siach <baruch at tkos.co.il>
AuthorDate: Wed May 25 06:45:10 2016 +0300
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri May 27 09:56:26 2016 -0700

    Documentation: dt: mtd: drop "soft_bch" from example
    
    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 at tkos.co.il>
    Acked-by: Rafał Miłecki <zajec5 at gmail.com>
    Acked-by: Rob Herring <robh at kernel.org>
    Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 Documentation/devicetree/bindings/mtd/nand.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/nand.txt b/Documentation/devicetree/bindings/mtd/nand.txt
index 68342ea..3733300 100644
--- a/Documentation/devicetree/bindings/mtd/nand.txt
+++ b/Documentation/devicetree/bindings/mtd/nand.txt
@@ -53,7 +53,8 @@ Example:
 
 		nand at 0 {
 			reg = <0>;
-			nand-ecc-mode = "soft_bch";
+			nand-ecc-mode = "soft";
+			nand-ecc-algo = "bch";
 
 			/* controller specific properties */
 		};



More information about the linux-mtd-cvs mailing list