[U-Boot] [PATCH v2 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support
Josh Wu
josh.wu at atmel.com
Thu Aug 16 07:05:10 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 v1:
Add two patches that enable PMECC in 9x5 board.
Nand flash driver:
Change 'ecc' array's type from u32 to u8 in structure pmecc_regs (u32 ecc[11] -> u8 ecc[44]). That will make PMECC write correctly.
enable 4k-page nand flash pmecc support.
fix coding style errors and warnings.
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 +-
drivers/mtd/nand/atmel_nand.c | 763 ++++++++++++++++++++++++++++---
drivers/mtd/nand/atmel_nand_ecc.h | 111 +++++
include/configs/at91sam9x5ek.h | 7 +
4 files changed, 833 insertions(+), 60 deletions(-)
--
1.7.9.5
More information about the U-Boot
mailing list