summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Moussalem2025-05-01 10:55:07 +0000
committerRobert Marko2025-05-01 18:40:24 +0000
commita0fa3ed36f5e94d602d9c7574915648444f4abf4 (patch)
tree94e6fa3bc4d303e78939a25e094f913d58f27b19
parent84f433dfeb26dc76fe4870b5dcf12c946c5a5d70 (diff)
downloadopenwrt-a0fa3ed36f5e94d602d9c7574915648444f4abf4.tar.gz
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@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18672 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts6
1 files changed, 6 insertions, 0 deletions
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@0 {
+ nand-ecc-strength = <4>;
+ };
+};
+
/*
* ===============================================================
* _______________________ _______________________