From: George Moussalem Date: Thu, 1 May 2025 10:55:07 +0000 (+0400) Subject: qualcommax: ipq50xx: fix ECC strength for Linksys MR5500 X-Git-Tag: v25.12.0-rc1~2943 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0fa3ed36f5e94d602d9c7574915648444f4abf4;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/18672 Signed-off-by: Robert Marko --- 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 6550e227295..ecf57941807 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>; + }; +}; + /* * =============================================================== * _______________________ _______________________