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

2014-09-19 Thread Brian Norris
On Thu, Sep 18, 2014 at 04:08:03PM +0800, Josh Wu wrote: > On 9/18/2014 8:32 AM, Brian Norris wrote: > >On Mon, Aug 18, 2014 at 03:08:40PM +0800, Josh Wu wrote: > >>+static int pmecc_build_galois_table(int mm, > >>+ int16_t *index_of, int16_t *alpha_to) > >>+{ ... > >>+} > >Is this algori

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

2014-09-18 Thread Josh Wu
Hi, Brain On 9/18/2014 8:32 AM, Brian Norris wrote: On Mon, Aug 18, 2014 at 03:08:40PM +0800, Josh Wu wrote: 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 w

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

2014-09-17 Thread Brian Norris
On Mon, Aug 18, 2014 at 03:08:40PM +0800, Josh Wu wrote: > 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. >

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

2014-09-17 Thread Josh Wu
Hi, Ping... Is it any feedback for the patch? Best Regards, Josh Wu On 8/18/2014 3:08 PM, Josh Wu wrote: 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 whi

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

2014-08-18 Thread Josh Wu
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. Signed-off-by: Josh Wu Cc: devicetree@vger.kernel.org --- This patc