summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2016-05-25 06:45:10 +0300
committerBrian Norris <computersforpeace@gmail.com>2016-05-27 09:56:26 -0700
commit507e617440d70bc4269daac1b0ee96671bf2761a (patch)
tree152a326074ea67f92f9bde34346f11763fbabc0e /Documentation
parent53b74ed2d0b4170764bf6d4cba6b786be1cab846 (diff)
downloadlinux-507e617440d70bc4269daac1b0ee96671bf2761a.tar.gz
linux-507e617440d70bc4269daac1b0ee96671bf2761a.tar.bz2
linux-507e617440d70bc4269daac1b0ee96671bf2761a.zip
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@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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mtd/nand.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mtd/nand.txt b/Documentation/devicetree/bindings/mtd/nand.txt
index 68342eac2383..3733300de8dd 100644
--- a/Documentation/devicetree/bindings/mtd/nand.txt
+++ b/Documentation/devicetree/bindings/mtd/nand.txt
@@ -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 */
};