public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support
@ 2012-08-16  5:05 Josh Wu
  2012-08-16  5:05 ` [U-Boot] [PATCH v2 1/5] at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param() Josh Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Josh Wu @ 2012-08-16  5:05 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-08-22  7:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16  5:05 [U-Boot] [PATCH v2 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support Josh Wu
2012-08-16  5:05 ` [U-Boot] [PATCH v2 1/5] at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param() Josh Wu
2012-08-16  8:56   ` Andreas Bießmann
2012-08-20 10:13     ` Josh Wu
2012-08-21  1:21     ` Scott Wood
2012-08-16  5:05 ` [U-Boot] [PATCH v2 2/5] at91: atmel_nand: remove unused variables Josh Wu
2012-08-21  1:22   ` Scott Wood
2012-08-16  5:05 ` [U-Boot] [PATCH v2 3/5] at91: atmel_nand: Update driver to support Programmable Multibit ECC controller Josh Wu
2012-08-17  9:24   ` Andreas Bießmann
2012-08-21 10:37     ` Josh Wu
2012-08-21 20:39       ` Scott Wood
2012-08-22  3:26         ` Josh Wu
2012-08-21  1:37   ` Scott Wood
2012-08-16  5:05 ` [U-Boot] [PATCH v2 4/5] at91: 9x5: change SMC config timing that both works for PMECC & non-PMECC Josh Wu
2012-08-21 10:46   ` Andreas Bießmann
2012-08-22  7:11     ` Josh Wu
2012-08-16  5:05 ` [U-Boot] [PATCH v2 5/5] at91: 9x5: Enable PMECC for 5series ek board Josh Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox