From: Chris Packham Date: Tue, 2 Oct 2018 21:12:33 +0000 (+1300) Subject: ARM: dts: mvebu: armada-385-db-88f6820-amc: auto-detect nand ECC properites X-Git-Tag: v4.20-rc1~66^2~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e72f5dc7e9d2ccc53e63cf1e4285d3f0534b685;p=thirdparty%2Flinux.git ARM: dts: mvebu: armada-385-db-88f6820-amc: auto-detect nand ECC properites 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 Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm/boot/dts/armada-385-db-88f6820-amc.dts b/arch/arm/boot/dts/armada-385-db-88f6820-amc.dts index dc9ccce1d4a16..7881df3b28a07 100644 --- a/arch/arm/boot/dts/armada-385-db-88f6820-amc.dts +++ b/arch/arm/boot/dts/armada-385-db-88f6820-amc.dts @@ -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";