From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Sat, 01 Sep 2012 16:25:48 +0200 Subject: [U-Boot] [PATCH v3 3/5] at91: atmel_nand: Update driver to support Programmable Multibit ECC controller In-Reply-To: <1345716338-11217-4-git-send-email-josh.wu@atmel.com> References: <1345716338-11217-1-git-send-email-josh.wu@atmel.com> <1345716338-11217-4-git-send-email-josh.wu@atmel.com> Message-ID: <50421AEC.50202@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- applied to u-boot-atmel/master (slightly modified due to required rebase cause of change in 1/5), thanks! Best regards Andreas Bie?mann