summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
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/devicetree
parent53b74ed2d0b4170764bf6d4cba6b786be1cab846 (diff)
downloadop-kernel-dev-507e617440d70bc4269daac1b0ee96671bf2761a.zip
op-kernel-dev-507e617440d70bc4269daac1b0ee96671bf2761a.tar.gz
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/devicetree')
-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 68342ea..3733300 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 */
};
OpenPOWER on IntegriCloud