summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2022-01-11 15:23:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:14:41 +0200
commitb44d4f6436b04074ec1dc855423a03f6df789fb5 (patch)
tree61bf4ff2928e2399ad3d9691155f61e94a9d5091
parent508248cfa87bed35c7ff8d7d3f87816129c1da0a (diff)
downloadlinux-stable-b44d4f6436b04074ec1dc855423a03f6df789fb5.tar.gz
linux-stable-b44d4f6436b04074ec1dc855423a03f6df789fb5.tar.bz2
linux-stable-b44d4f6436b04074ec1dc855423a03f6df789fb5.zip
ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
commit 0fb578a529ac7aca326a9fa475b4a6f58a756fda upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/arm/boot/dts/sama5d2.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index d856c16d0015..79696d4f4f65 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1125,7 +1125,7 @@
pmecc: ecc-engine@f8014070 {
compatible = "atmel,sama5d2-pmecc";
reg = <0xf8014070 0x490>,
- <0xf8014500 0x100>;
+ <0xf8014500 0x200>;
};
};