OSDN Git Service

ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 11 Jan 2022 13:23:01 +0000 (15:23 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Thu, 24 Feb 2022 18:30:41 +0000 (19:30 +0100)
commit0fb578a529ac7aca326a9fa475b4a6f58a756fda
tree056b044c74e41fa138eea26e33826e93ecd554fd
parente74964d0236f34b2abded4fead22dbec2272e213
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: d9c41bf30cf8 ("ARM: dts: at91: Declare EBI/NAND controllers")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Cc: <stable@vger.kernel.org> # 4.13.x
Acked-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220111132301.906712-1-tudor.ambarus@microchip.com
arch/arm/boot/dts/sama5d2.dtsi