Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18672
Signed-off-by: Robert Marko <[email protected]>
George Moussalem 8 months ago
parent
commit
a0fa3ed36f

+ 6 - 0
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts

@@ -28,6 +28,12 @@
 	};
 };
 
+&qpic_nand {
+	nand@0 {
+		nand-ecc-strength = <4>;
+	};
+};
+
 /*
  * ===============================================================
  *     _______________________         _______________________