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

Josh Wu josh.wu at atmel.com
Thu Aug 23 12:05:33 CEST 2012


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

-- 
1.7.9.5



More information about the U-Boot mailing list