]> git.baikalelectronics.ru Git - uboot.git/commit
sama5d3: Fix Galois Field Table offsets
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 8 Jan 2021 12:40:19 +0000 (14:40 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Fri, 22 Jan 2021 13:09:59 +0000 (15:09 +0200)
commit80b1d6e68223929387d8200bafd792eb0416e6c8
treec8710d21b834f7155520ad6ee2de091fb54837d5
parent6e6b03ac883b66a69d6d0ab8018d671880ee49e0
sama5d3: Fix Galois Field Table offsets

Offsets are described in the datasheet at section:
"11.4.4.2 NAND Flash Boot: PMECC Error Detection and Correction".

For testing I "injected" bit flips into u-boot NAND memory area,
and then read back. PMECC could not correct the errors. With the
offsets updated everything is fine.

Fixes: 3225f34e5c ("ARM: atmel: add sama5d3xek support")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
arch/arm/mach-at91/include/mach/sama5d3.h