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)
commit786f888b743e9b83c9095cb9b5548ebe2e29afc5
treec8710d21b834f7155520ad6ee2de091fb54837d5
parent58b1d680d139113b7ce91aa2d22bc71d74a9715e
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