On Sat, Oct 11, 2014 at 06:01:50PM +0800, Josh Wu wrote: > From: Josh Wu <Josh.wu@xxxxxxxxx> > > 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@xxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx Applied to l2-mtd.git. Brian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html