
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
On 8/9/2012 6:21 PM, Josh Wu wrote:
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(-)