Commit 0fb578a5 authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Nicolas Ferre
Browse files

ARM: dts: at91: sama5d2: Fix PMERRLOC resource size



PMERRLOC resource size was set 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 and if 24 or 32 bit error correction
was supported.

Fixes: d9c41bf3 ("ARM: dts: at91: Declare EBI/NAND controllers")
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Cc: <stable@vger.kernel.org> # 4.13.x
Acked-by: default avatarAlexander Dahl <ada@thorsis.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220111132301.906712-1-tudor.ambarus@microchip.com
parent e74964d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ hsmc: hsmc@f8014000 {
				pmecc: ecc-engine@f8014070 {
					compatible = "atmel,sama5d2-pmecc";
					reg = <0xf8014070 0x490>,
					      <0xf8014500 0x100>;
					      <0xf8014500 0x200>;
				};
			};