[openwrt/openwrt] IPQ4019: AVM FRITZ!Box 7530: Remove NAND ECC restrictions from DTS

LEDE Commits lede-commits at lists.infradead.org
Sun May 15 07:40:59 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/416e8aefe14c5c65726b79f5ec39741f485cd225

commit 416e8aefe14c5c65726b79f5ec39741f485cd225
Author: Andreas Böhler <dev at aboehler.at>
AuthorDate: Sun May 15 10:50:31 2022 +0200

    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 <dev at aboehler.at>
    (cherry picked from commit f167f4a9a42e6d1e186487883500299cc82b1b9f)
---
 .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts     | 3 +++
 1 file changed, 3 insertions(+)

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 at 0 {
+		/delete-property/ nand-ecc-strength;
+		/delete-property/ nand-ecc-step-size;
+
 		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;




More information about the lede-commits mailing list