[PATCH] ARM: dts: at91: sama5d2: Fix PMERRLOC resource size

Tudor Ambarus tudor.ambarus at microchip.com
Tue Jan 11 00:09:33 PST 2022


PMERRLOC resource size has been shrunk to 0x100, which resulted in
HSMC_ERRLOCx register being truncated to offset x = 21, causing
error correction to fail if more than 22 bit errors where 24 or
32 bit error correction was supported.

Fixes: d9c41bf30cf8 ("ARM: dts: at91: Declare EBI/NAND controllers")
Signed-off-by: Tudor Ambarus <tudor.ambarus at microchip.com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 801969c113d6..de88eb484718 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -413,7 +413,7 @@ hsmc: hsmc at f8014000 {
 				pmecc: ecc-engine at f8014070 {
 					compatible = "atmel,sama5d2-pmecc";
 					reg = <0xf8014070 0x490>,
-					      <0xf8014500 0x100>;
+					      <0xf8014500 0x200>;
 				};
 			};
 
-- 
2.25.1




More information about the linux-arm-kernel mailing list