]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: ipq50xx: remove ECC user config from board files 18723/head
authorGeorge Moussalem <george.moussalem@outlook.com>
Tue, 6 May 2025 06:18:09 +0000 (10:18 +0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 8 May 2025 13:40:03 +0000 (15:40 +0200)
With the spi-qpic-snand driver now supporting reading ECC requirements
from the NAND chip itself, there's no need to set those in the DTS
anymore avoiding issues with devices of the same revision using
different NAND types with varying ECC requirements.

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18723
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx-base.dtsi
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-wrc-x3000gs2.dts

index 684b6d95c53459b19d2c3b64fbeb6865ac153f45..9abf20fec58302a82d9e3b3e8471553509b9754b 100644 (file)
                #size-cells = <1>;
 
                nand-ecc-engine = <&qpic_nand>;
-               nand-ecc-strength = <4>;
-               nand-ecc-step-size = <512>;
                nand-bus-width = <8>;
 
                partitions {
index 8dbd8a5d88e2a38a5aa42632637f2c617f56cb66..99bd9a71a24cd08e31b3dba9ae97b551515ad06a 100644 (file)
        };
 };
 
-&qpic_nand {
-       nand@0 {
-               nand-ecc-strength = <4>;
-       };
-};
-
 /*
  * ===============================================================
  *     _______________________         _______________________
index a015fcbd34ba326e0c08caccc066fa9c19c51b1a..0cc70cceb7c9ebd2cb97a679c297632b9708f1ca 100644 (file)
                #size-cells = <1>;
 
                nand-ecc-engine = <&qpic_nand>;
-
-               nand-ecc-strength = <8>;
-               nand-ecc-step-size = <512>;
                nand-bus-width = <8>;
 
                partitions {
index fc3e86b8702ea8bb6dcc52111ea88e94548d87c0..69f124cb9d7b93340ca88f213f617f84bfea75ee 100644 (file)
                #size-cells = <1>;
 
                nand-ecc-engine = <&qpic_nand>;
-
-               /* strength=8 breaks NAND I/O, use 4 instead */
-               nand-ecc-strength = <4>;
-               nand-ecc-step-size = <512>;
                nand-bus-width = <8>;
 
                partitions {