From: Andreas Böhler Date: Sun, 15 May 2022 08:50:31 +0000 (+0200) Subject: IPQ4019: AVM FRITZ!Box 7530: Remove NAND ECC restrictions from DTS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f167f4a9a42e6d1e186487883500299cc82b1b9f;p=openwrt%2Fstaging%2Fstintel.git IPQ4019: AVM FRITZ!Box 7530: Remove NAND ECC restrictions from DTS 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 --- diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts index dcd336e712..27c7d071dc 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts @@ -173,6 +173,9 @@ status = "okay"; nand@0 { + /delete-property/ nand-ecc-strength; + /delete-property/ nand-ecc-step-size; + partitions { compatible = "fixed-partitions"; #address-cells = <1>;