Re: [PATCH 0/3] An alternative to SPI NAND

2015-02-26 Thread Ezequiel Garcia
On 02/24/2015 12:54 AM, Brian Norris wrote: > On Mon, Feb 23, 2015 at 12:32:42PM -0300, Ezequiel Garcia wrote: >> On 01/31/2015 04:02 AM, Brian Norris wrote: >>> Unless someone else thinks they have an excellent handle on the above, >>> I'll take a stab at doing this. I actually have a few patche

Re: [PATCH 0/3] An alternative to SPI NAND

2015-02-23 Thread Brian Norris
On Mon, Feb 23, 2015 at 12:32:42PM -0300, Ezequiel Garcia wrote: > On 01/31/2015 04:02 AM, Brian Norris wrote: > > Unless someone else thinks they have an excellent handle on the above, > > I'll take a stab at doing this. I actually have a few patches that have > > hung around a while (with little

Re: [PATCH 0/3] An alternative to SPI NAND

2015-02-23 Thread Ezequiel Garcia
Brian, On 01/31/2015 04:02 AM, Brian Norris wrote: > Unless someone else thinks they have an excellent handle on the above, > I'll take a stab at doing this. I actually have a few patches that have > hung around a while (with little incentive to finish them) that do parts > of what I'm suggesting

RE: [PATCH 0/3] An alternative to SPI NAND

2015-02-01 Thread peterpandong
On Sat, Jan 31, 2015 at 15:02:29AM -0300, Brian Norris wrote: > > On Fri, Jan 30, 2015 at 08:47:29AM -0300, Ezequiel Garcia wrote: > > On 01/29/2015 09:57 PM, Peter Pan 潘栋 (peterpandong) wrote: > > [..] > > > > > > Currently, we are working on sharing the bbt code. I think your and > Brain's sugge

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-30 Thread Brian Norris
On Fri, Jan 30, 2015 at 08:47:29AM -0300, Ezequiel Garcia wrote: > On 01/29/2015 09:57 PM, Peter Pan 潘栋 (peterpandong) wrote: > [..] > > > > Currently, we are working on sharing the bbt code. I think your and Brain's > > suggestion > > will be very helpful. > > > > There are two options. We can

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-30 Thread Ezequiel Garcia
On 01/29/2015 09:57 PM, Peter Pan 潘栋 (peterpandong) wrote: [..] > > Currently, we are working on sharing the bbt code. I think your and Brain's > suggestion > will be very helpful. > > There are two options. We can put struct nand_bbt pointer in either nand_chip > or mtd_info structure. I'm s

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-29 Thread peterpandong
> On 01/20/2015 11:11 PM, Qi Wang 王起 (qiwang) wrote: > > On 01/20/2015 6:36 PM, Ezequiel Garcia wrote: > >> > >> On 01/12/2015 12:10 PM, Qi Wang 王起 (qiwang) wrote: > >>> Hi Ezequiel, > >>> > >>> On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: > > Hi Qi Wang, > > On 01/07/2015 11:

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-29 Thread Ezequiel Garcia
On 01/20/2015 11:11 PM, Qi Wang 王起 (qiwang) wrote: > On 01/20/2015 6:36 PM, Ezequiel Garcia wrote: >> >> On 01/12/2015 12:10 PM, Qi Wang 王起 (qiwang) wrote: >>> Hi Ezequiel, >>> >>> On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: Hi Qi Wang, On 01/07/2015 11:45 PM, Qi Wang 王起 (q

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-20 Thread qiwang
On 01/20/2015 6:36 PM, Ezequiel Garcia wrote: > >On 01/12/2015 12:10 PM, Qi Wang 王起 (qiwang) wrote: >> Hi Ezequiel, >> >> On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: >>> >>> Hi Qi Wang, >>> >>> On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: Hi Brian, On Thu, Jan 08, 2015 at 9:

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-20 Thread Ezequiel Garcia
On 01/12/2015 12:10 PM, Qi Wang 王起 (qiwang) wrote: > Hi Ezequiel, > > On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: >> >> Hi Qi Wang, >> >> On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: >>> Hi Brian, >>> >>> On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: On Thu, Jan

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-19 Thread peterpandong
> On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) > wrote: > > Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + > > drivers/mtd/Kconfig|2 + > > drivers/mtd/Makefile |1 + > > drivers/mtd/spi-nand/K

[PATCH 0/3] An alternative to SPI NAND

2015-01-12 Thread qiwang
Hi Ezequiel, On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: > >Hi Qi Wang, > >On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: >> Hi Brian, >> >> On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: >>> >>> On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >>> wrote:

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread Ezequiel Garcia
Hi Qi Wang, On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: > Hi Brian, > > On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: >> >> On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >> wrote: >>> Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + >>> dri

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread qiwang
Hi Brian, On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: > >On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >wrote: >> Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + >> drivers/mtd/Kconfig|2 + >> drivers/mtd/Makef

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread Brian Norris
On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) wrote: > Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + > drivers/mtd/Kconfig|2 + > drivers/mtd/Makefile |1 + > drivers/mtd/spi-nand/Kconfig

[PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread peterpandong
This patchset is an alternative to Ezequiel's series[1]. This patchset separate SPI NAND code and Parallel NAND code, make SPI NAND have its own spi_nand_scan, read, write, BBM mechanism, so that it would be better for code maintenance in the future. TODO - 1. This patchset is validated