Skip to content

at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

Josh Wu u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 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 [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

Hi, Andreas

Sorry, in these patches of current version, it still has a bug, which will fail to write with PMECC, I will send out the v2 patch soon which include this bug fix.

Best Regards,
Josh Wu

Quoted 18 lines · Josh Wu

This patch series will add PMECC support for atmel nand driver in u-boot.

The driver patch is ported from kernel patch. The main different from kernel patch is the modification about registers access part. in this version it via a register structure to access.

It is tested in atmel 9x5 series board.

Josh Wu (3):
at91: atmel_nand: extract HWECC initialization code into one function:

     atmel_hw_nand_init_param().

at91: atmel_nand: remove unused variables.
at91: atmel_nand: Update driver to support Programmable Multibit
ECC controller

  drivers/mtd/nand/atmel_nand.c     |  759 ++++++++++++++++++++++++++++++++++---
  drivers/mtd/nand/atmel_nand_ecc.h |  107 ++++++
  2 files changed, 813 insertions(+), 53 deletions(-)