[PATCH 0/4] at91: Fix NAND PMECC on various SoCs/boards

Tudor Ambarus tudor.ambarus at microchip.com
Fri Jan 8 13:40:16 CET 2021


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

 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(-)

-- 
2.25.1



More information about the U-Boot mailing list