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-Tag: v22.03.0-rc2~25 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=416e8aefe14c5c65726b79f5ec39741f485cd225;p=openwrt%2Fopenwrt.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 (cherry picked from commit f167f4a9a42e6d1e186487883500299cc82b1b9f) --- 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>;