[openwrt/openwrt] qualcommax: ipq50xx: fix ECC strength for Linksys MR5500

LEDE Commits lede-commits at lists.infradead.org
Thu May 1 11:40:27 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a0fa3ed36f5e94d602d9c7574915648444f4abf4

commit a0fa3ed36f5e94d602d9c7574915648444f4abf4
Author: George Moussalem <george.moussalem at outlook.com>
AuthorDate: Thu May 1 14:55:07 2025 +0400

    qualcommax: ipq50xx: fix ECC strength for Linksys MR5500
    
    Commit fc3ff2af0c57504a2e03d635692396c5bb099f17 introduced reading
    ECC strength from the device tree. Linksys MR5500 uses the mx-base dtsi
    which was originally developed for Linksys MX2000 and MX5500 where the
    ECC strength is set to 8. Correct this and set it to strength of 4 as
    per the NAND specs for Gigadevice GD5F2GQ5REYIH.
    
    Signed-off-by: George Moussalem <george.moussalem at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18672
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
index 6550e22729..ecf5794180 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
@@ -28,6 +28,12 @@
 	};
 };
 
+&qpic_nand {
+	nand at 0 {
+		nand-ecc-strength = <4>;
+	};
+};
+
 /*
  * ===============================================================
  *     _______________________         _______________________




More information about the lede-commits mailing list