From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Wu Date: Fri, 31 Aug 2012 11:23:25 +0800 Subject: [U-Boot] [PATCH v3 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support In-Reply-To: <1345716338-11217-1-git-send-email-josh.wu@atmel.com> References: <1345716338-11217-1-git-send-email-josh.wu@atmel.com> Message-ID: <50402E2D.80708@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, All Is any feedback for this rev3 patch series. Best Regards, Josh Wu On 8/23/2012 6:05 PM, Josh Wu wrote: > 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 >