[U-Boot] [PATCH v3 3/5] at91: atmel_nand: Update driver to support Programmable Multibit ECC controller

Andreas Bießmann andreas.devel at googlemail.com
Sat Sep 1 16:25:48 CEST 2012


Dear Josh Wu,

On 23.08.2012 12:05, Josh Wu wrote:
> The Programmable Multibit ECC (PMECC) controller is a programmable binary
> BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller
> can be used to support both SLC and MLC NAND Flash devices. It supports to
> generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data.
>
> To use PMECC in this driver, the user needs to set the PMECC correction
> capability, the sector size and ROM lookup table offsets in board config file.
>
> This driver is ported from Linux kernel atmel_nand PMECC patch. The main difference
> is in this version it uses registers structure access hardware instead of using macros.
> It is tested in 9x5 serial boards.
>
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> ---

applied to u-boot-atmel/master (slightly modified due to required rebase 
cause of change in 1/5), thanks!

Best regards

Andreas Bießmann


More information about the U-Boot mailing list