Re: [PATCH v3] mtd: atmel_nand: make PMECC lookup table and offset property optional

Brian Norris
2014-11-05T22:45:12Z

On Sat, Oct 11, 2014 at 06:01:50PM +0800, Josh Wu wrote:
> From: Josh Wu <Josh.wu@atmel.com>
>
> If there is no PMECC lookup table stored in ROM, or lookup table offset is
> not specified, PMECC driver should build it in DDR by itself.
>
> That make the PMECC driver work for some board which doesn't has PMECC
> lookup table in ROM.
>
> The PMECC use the BCH algorithm, so based on the build_gf_tables()
> function in lib/bch.c, we can build the Galois Field lookup table.
>
> For more information can refer to section 5.4 of PMECC controller
> application note:
> http://www.atmel.com/images/doc11127.pdf
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> Cc: devicetree@vger.kernel.org

Applied to l2-mtd.git.

Brian