Skip to content

at91: Fix NAND PMECC on various SoCs/boards

Eugen.Hristev at microchip.com u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] at91: Fix NAND PMECC on various SoCs/boards
Quoted 18 lines · Tudor Ambarus

Fix the Galois Field Table offsets for sama5d3 and sam9x60 SoCs. PMECC could not correct errors.

Fix the involuntarily disablement of NAND PMECC on some boards, and fix some wrong definitions for CONFIG_PMECC_CAP.

Tested on sam9x60ek and sama5d3_xplained. I/we "injected" bit flips into u-boot NAND memory area, and then read back. PMECC could not correct the errors. With these everything is fine.

Kai Stuhlemmer (ebee Engineering) (1):
sam9x60.h: Fix Galois Field Table offsets

Tudor Ambarus (3):
configs: at91: Fix the involuntarily disablement of NAND PMECC
configs: at91: Fix wrong definitions for CONFIG_PMECC_CAP
sama5d3: Fix Galois Field Table offsets

Quoted 17 lines
  arch/arm/mach-at91/include/mach/sam9x60.h   | 4 ++--
  arch/arm/mach-at91/include/mach/sama5d3.h   | 4 ++--
  configs/at91sam9n12ek_mmc_defconfig         | 1 +
  configs/at91sam9n12ek_spiflash_defconfig    | 1 +
  configs/at91sam9x5ek_mmc_defconfig          | 1 +
  configs/at91sam9x5ek_spiflash_defconfig     | 1 +
  configs/sama5d36ek_cmp_mmc_defconfig        | 2 ++
  configs/sama5d36ek_cmp_nandflash_defconfig  | 1 +
  configs/sama5d36ek_cmp_spiflash_defconfig   | 2 ++
  configs/sama5d3_xplained_mmc_defconfig      | 2 ++
  configs/sama5d3xek_mmc_defconfig            | 2 ++
  configs/sama5d3xek_spiflash_defconfig       | 2 ++
  configs/sama5d4_xplained_spiflash_defconfig | 2 ++
  configs/sama5d4ek_mmc_defconfig             | 2 ++
  configs/sama5d4ek_spiflash_defconfig        | 2 ++
  15 files changed, 25 insertions(+), 4 deletions(-)

Applied to u-boot-atmel/master and pushed out, thanks !