Re: [PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-25 Thread xiaolei li
On Thu, 2018-07-26 at 08:49 +0200, Miquel Raynal wrote: > Hi xiaolei, > > xiaolei li wrote on Thu, 26 Jul 2018 14:46:29 > +0800: > > > On Thu, 2018-07-26 at 08:14 +0200, Boris Brezillon wrote: > > > On Thu, 26 Jul 2018 14:06:41 +0800 > > > xiaolei li wrote: > > > > > > > On Sat, 2018-07-21 a

Re: [PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-25 Thread Miquel Raynal
Hi xiaolei, xiaolei li wrote on Thu, 26 Jul 2018 14:46:29 +0800: > On Thu, 2018-07-26 at 08:14 +0200, Boris Brezillon wrote: > > On Thu, 26 Jul 2018 14:06:41 +0800 > > xiaolei li wrote: > > > > > On Sat, 2018-07-21 at 19:10 +0200, Boris Brezillon wrote: > > > > On Fri, 20 Jul 2018 17:15:06

Re: [PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-25 Thread xiaolei li
On Thu, 2018-07-26 at 08:14 +0200, Boris Brezillon wrote: > On Thu, 26 Jul 2018 14:06:41 +0800 > xiaolei li wrote: > > > On Sat, 2018-07-21 at 19:10 +0200, Boris Brezillon wrote: > > > On Fri, 20 Jul 2018 17:15:06 +0200 > > > Miquel Raynal wrote: > > > > > > > Two helpers have been added to t

Re: [PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-25 Thread Boris Brezillon
On Thu, 26 Jul 2018 14:06:41 +0800 xiaolei li wrote: > On Sat, 2018-07-21 at 19:10 +0200, Boris Brezillon wrote: > > On Fri, 20 Jul 2018 17:15:06 +0200 > > Miquel Raynal wrote: > > > > > Two helpers have been added to the core to make ECC-related > > > configuration between the detection phas

Re: [PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-25 Thread xiaolei li
On Sat, 2018-07-21 at 19:10 +0200, Boris Brezillon wrote: > On Fri, 20 Jul 2018 17:15:06 +0200 > Miquel Raynal wrote: > > > Two helpers have been added to the core to make ECC-related > > configuration between the detection phase and the final NAND scan. Use > > these hooks and convert the driver

Re: [PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-21 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:15:06 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

[PATCH v4 14/35] mtd: rawnand: mtk: convert driver to nand_scan()

2018-07-20 Thread Miquel Raynal
Two helpers have been added to the core to make ECC-related configuration between the detection phase and the final NAND scan. Use these hooks and convert the driver to just use nand_scan() instead of both nand_scan_ident() and nand_scan_tail(). Signed-off-by: Miquel Raynal --- drivers/mtd/nand/