IPQ4019: AVM FRITZ!Box 7530: Remove NAND ECC restrictions from DTS
authorAndreas Böhler <dev@aboehler.at>
Sun, 15 May 2022 08:50:31 +0000 (10:50 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 15 May 2022 14:35:00 +0000 (16:35 +0200)
Some revisions of the FRITZ!7530 use a Toshiba NAND with 8 bit ECC in
contrast to the Macronix NAND with 4 bit ECC. This removes the hardcoded
ECC strength and step size as set in qcom-ipq4019.dtsi, thus relying on the
kernel NAND detection routines to correclty set up the ECC parameters.

Signed-off-by: Andreas Böhler <dev@aboehler.at>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts

index dcd336e712c50a31d3b287fffbab29a0a622d642..27c7d071dc4c3d97e658b48e13ae372c4aa38b8c 100644 (file)
        status = "okay";
 
        nand@0 {
+               /delete-property/ nand-ecc-strength;
+               /delete-property/ nand-ecc-step-size;
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;