Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-07-06 Thread Tom Rini
On Fri, Jul 06, 2018 at 05:45:02PM +0530, Jagan Teki wrote: > On Fri, Jul 6, 2018 at 5:36 PM, Miquel Raynal > wrote: > > Hi Jagan, > > > > Jagan Teki wrote on Fri, 6 Jul 2018 > > 17:13:21 +0530: > > > >> On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal > >> wrote: > >> > During the last months, B

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-07-06 Thread Jagan Teki
On Fri, Jul 6, 2018 at 5:36 PM, Miquel Raynal wrote: > Hi Jagan, > > Jagan Teki wrote on Fri, 6 Jul 2018 > 17:13:21 +0530: > >> On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal >> wrote: >> > During the last months, Boris Brezillon shared his work to support >> > serial flashes within Linux. First

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-07-06 Thread Miquel Raynal
Hi Jagan, Jagan Teki wrote on Fri, 6 Jul 2018 17:13:21 +0530: > On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal > wrote: > > During the last months, Boris Brezillon shared his work to support > > serial flashes within Linux. First, he delivered (and merged) a new > > layer called spi-mem. He als

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-07-06 Thread Jagan Teki
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > During the last months, Boris Brezillon shared his work to support > serial flashes within Linux. First, he delivered (and merged) a new > layer called spi-mem. He also initiated in Linux MTD subsystem the move > of all 'raw' NAND related code

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-27 Thread Jagan Teki
On Tue, Jun 26, 2018 at 1:28 AM, Boris Brezillon wrote: > On Tue, 26 Jun 2018 00:07:10 +0530 > Jagan Teki wrote: > >> >> I think I have to repeat my previous statement here. It would be very >> >> unfortunate if u-boot decides to take this direction (see Richard's >> >> reply), especially since I

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Tom Rini
On Mon, Jun 25, 2018 at 09:58:39PM +0200, Boris Brezillon wrote: > On Tue, 26 Jun 2018 00:07:10 +0530 > Jagan Teki wrote: > > > >> I think I have to repeat my previous statement here. It would be very > > >> unfortunate if u-boot decides to take this direction (see Richard's > > >> reply), especi

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Boris Brezillon
On Tue, 26 Jun 2018 00:07:10 +0530 Jagan Teki wrote: > >> I think I have to repeat my previous statement here. It would be very > >> unfortunate if u-boot decides to take this direction (see Richard's > >> reply), especially since I see absolutely no benefit in doing what you > >> suggest. Having

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Jagan Teki
On Mon, Jun 25, 2018 at 8:25 PM, Tom Rini wrote: > On Mon, Jun 25, 2018 at 04:46:56PM +0200, Boris Brezillon wrote: >> On Mon, 25 Jun 2018 19:58:37 +0530 >> Jagan Teki wrote: >> >> > >>> - convert fsl-qspi to spi-mem >> > >> >> > >> We're not targeting the fsl-qspi controller here but a simple SP

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Stefan Roese
On 25.06.2018 16:55, Tom Rini wrote: On Mon, Jun 25, 2018 at 04:46:56PM +0200, Boris Brezillon wrote: On Mon, 25 Jun 2018 19:58:37 +0530 Jagan Teki wrote: - convert fsl-qspi to spi-mem We're not targeting the fsl-qspi controller here but a simple SPI controller that is already upstreamed. B

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Tom Rini
On Mon, Jun 25, 2018 at 04:46:56PM +0200, Boris Brezillon wrote: > On Mon, 25 Jun 2018 19:58:37 +0530 > Jagan Teki wrote: > > > >>> - convert fsl-qspi to spi-mem > > >> > > >> We're not targeting the fsl-qspi controller here but a simple SPI > > >> controller that is already upstreamed. But yes

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Boris Brezillon
On Mon, 25 Jun 2018 19:58:37 +0530 Jagan Teki wrote: > >>> - convert fsl-qspi to spi-mem > >> > >> We're not targeting the fsl-qspi controller here but a simple SPI > >> controller that is already upstreamed. But yes, the fsl-qspi driver > >> will have to be patched to support the spi-mem inter

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Richard Weinberger
Am Montag, 25. Juni 2018, 16:27:45 CEST schrieb Jagan Teki: > I understand the new MTD dm abstraction in U-Boot is not possible for > direct syncing from Linux, but we really want the u-boot way of > handling drivers and trying to copy code from Linux by removing > __UBOOT__ or any Linux specific m

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Jagan Teki
+ Simon + Tom On Mon, Jun 25, 2018 at 7:57 PM, Jagan Teki wrote: > + Simon > + Tom > (suggesting MTD driver model abstraction layer) > > On Mon, Jun 25, 2018 at 2:39 PM, Boris Brezillon > wrote: >> +Richard to comment on the MTD abstraction stuff and how uboot port >> of UBI might be impacted by

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Jagan Teki
+ Simon + Tom (suggesting MTD driver model abstraction layer) On Mon, Jun 25, 2018 at 2:39 PM, Boris Brezillon wrote: > +Richard to comment on the MTD abstraction stuff and how uboot port > of UBI might be impacted by some changes requested here. > > Hi Jagan, > > On Mon, 25 Jun 2018 13:59:37 +05

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Richard Weinberger
Am Montag, 25. Juni 2018, 11:09:41 CEST schrieb Boris Brezillon: > +Richard to comment on the MTD abstraction stuff and how uboot port > of UBI might be impacted by some changes requested here. > > Hi Jagan, > > On Mon, 25 Jun 2018 13:59:37 +0530 > Jagan Teki wrote: > > > > > I've looked the c

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Boris Brezillon
+Richard to comment on the MTD abstraction stuff and how uboot port of UBI might be impacted by some changes requested here. Hi Jagan, On Mon, 25 Jun 2018 13:59:37 +0530 Jagan Teki wrote: > > I've looked the code on the respective patches, look like most of the > code copy from Linux by adding

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-25 Thread Jagan Teki
Miquel and Brois, thanks for working on this. On Thu, Jun 7, 2018 at 2:11 PM, Miquel Raynal wrote: > Hi Jagan, > > On Thu, 7 Jun 2018 11:21:22 +0530, Jagan Teki > wrote: > >> + Boris >> + Suneel (who helped in DM MTD) >> + Siva, Michal (zynq qspi) >> >> On Wed, Jun 6, 2018 at 9:00 PM, Miquel Ra

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-18 Thread Miquel Raynal
Hi Stefan, On Tue, 12 Jun 2018 16:14:19 +0200, Stefan Roese wrote: > Hi Miquèl, > > On 06.06.2018 17:30, Miquel Raynal wrote: > > During the last months, Boris Brezillon shared his work to support > > serial flashes within Linux. First, he delivered (and merged) a new > > layer called spi-mem.

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-18 Thread Boris Brezillon
Hi Jagan, On Thu, 7 Jun 2018 10:41:35 +0200 Miquel Raynal wrote: > Hi Jagan, > > On Thu, 7 Jun 2018 11:21:22 +0530, Jagan Teki > wrote: > > > + Boris > > + Suneel (who helped in DM MTD) > > + Siva, Michal (zynq qspi) > > > > On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal > > wrote: > > >

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-12 Thread Stefan Roese
Hi Miquèl, On 06.06.2018 17:30, Miquel Raynal wrote: During the last months, Boris Brezillon shared his work to support serial flashes within Linux. First, he delivered (and merged) a new layer called spi-mem. He also initiated in Linux MTD subsystem the move of all 'raw' NAND related code to a

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-07 Thread Miquel Raynal
Hi Jagan, On Thu, 7 Jun 2018 11:21:22 +0530, Jagan Teki wrote: > + Boris > + Suneel (who helped in DM MTD) > + Siva, Michal (zynq qspi) > > On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal > wrote: > > During the last months, Boris Brezillon shared his work to support > > serial flashes within

Re: [U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-06 Thread Jagan Teki
+ Boris + Suneel (who helped in DM MTD) + Siva, Michal (zynq qspi) On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > During the last months, Boris Brezillon shared his work to support > serial flashes within Linux. First, he delivered (and merged) a new > layer called spi-mem. He also initi

[U-Boot] [RFC PATCH 00/20] SPI-NAND support

2018-06-06 Thread Miquel Raynal
During the last months, Boris Brezillon shared his work to support serial flashes within Linux. First, he delivered (and merged) a new layer called spi-mem. He also initiated in Linux MTD subsystem the move of all 'raw' NAND related code to a raw/ subdirectory, adding at the same time a NAND core t