ARM: dts: mvebu: armada-385-db-88f6820-amc: auto-detect nand ECC properites
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 2 Oct 2018 21:12:33 +0000 (10:12 +1300)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 4 Oct 2018 15:37:23 +0000 (17:37 +0200)
This board has a Micron MT29F8G08ABACAWP chip which requires a ECC
strength of 8/512. Rather than hard coding any particular strength the
the nand controller auto-detect the ECC strength based on the ONFI data.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-385-db-88f6820-amc.dts

index dc9ccce..7881df3 100644 (file)
@@ -99,8 +99,6 @@
                label = "pxa3xx_nand-0";
                nand-rb = <0>;
                nand-on-flash-bbt;
-               nand-ecc-strength = <4>;
-               nand-ecc-step-size = <512>;
 
                partitions {
                        compatible = "fixed-partitions";