Skip to content

at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support

Josh Wu u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 5 patches 0 repliesNew
  2. v3 posting 1/25 patches 0 repliesSuperseded
  3. v25 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v10 of 3 patches0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

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

Reviews trailers per patch

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support

Hi, All

Is any feedback for this rev3 patch series.

Best Regards,
Josh Wu

Quoted 33 lines · Josh Wu

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

The NAND flash 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 AT919G25EK board.

Changes since v2:
adapt atmel nand driver to CONFIG_SYS_NAND_SELF_INIT. It use a new
board_nand_init(void) function.
Add README doc for Atmel PMECC.
Add timeout for PMECC read hw status.
refine code according to Andreas and Scott's comments.

Josh Wu (5):
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
at91: 9x5: change SMC config timing that both works for PMECC &
non-PMECC.
at91: 9x5: Enable PMECC for 5series ek board.

  board/atmel/at91sam9x5ek/at91sam9x5ek.c |   12 +-
  doc/README.atmel_pmecc                  |   44 ++
  drivers/mtd/nand/atmel_nand.c           |  828 ++++++++++++++++++++++++++++---
  drivers/mtd/nand/atmel_nand_ecc.h       |  113 +++++
  include/configs/at91sam9x5ek.h          |    7 +
  include/nand.h                          |    2 +-
  6 files changed, 938 insertions(+), 68 deletions(-)

create mode 100644 doc/README.atmel_pmecc