[PATCH] Documentation: dt: mtd: drop "soft_bch" from example
Baruch Siach
baruch at tkos.co.il
Tue May 24 20:45:10 PDT 2016
Commit 32698aafc9f0 (Documentation: devicetree: deprecate "soft_bch"
nand-ecc-mode value, 2016-04-22) deprecated "soft_bch". Update the example to
match.
Cc: Rafał Miłecki <zajec5 at gmail.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
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 68342eac2383..3733300de8dd 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 */
};
--
2.8.1
More information about the linux-mtd
mailing list