Re: [U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-11 Thread Jagan Teki
On Fri, Apr 12, 2019 at 11:39 AM Vignesh Raghavendra wrote: > > > > On 12/04/19 10:46 AM, Jagan Teki wrote: > > > On 02/04/19 6:22 AM, Marek Vasut wrote: > > Replace the ad-hoc erase operation implementation with a simple > > spi_mem_op implementation of the same functionality. T

Re: [U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-11 Thread Vignesh Raghavendra
On 12/04/19 10:46 AM, Jagan Teki wrote: On 02/04/19 6:22 AM, Marek Vasut wrote: > Replace the ad-hoc erase operation implementation with a simple > spi_mem_op implementation of the same functionality. This is a minor > optimization and removal of the ad-hoc code. >

Re: [U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-11 Thread Jagan Teki
On Wed, Apr 10, 2019 at 12:14 PM Marek Vasut wrote: > > On 4/4/19 8:10 AM, Ashish Kumar wrote: > > > > > >> -Original Message- > >> From: Vignesh Raghavendra > >> Sent: Tuesday, April 2, 2019 10:04 AM > >> To: Marek Vasut ; u-boot@lists.denx.de > >> Cc: Marek Vasut ; Horatiu Vultur > >> ;

Re: [U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-09 Thread Marek Vasut
On 4/4/19 8:10 AM, Ashish Kumar wrote: > > >> -Original Message- >> From: Vignesh Raghavendra >> Sent: Tuesday, April 2, 2019 10:04 AM >> To: Marek Vasut ; u-boot@lists.denx.de >> Cc: Marek Vasut ; Horatiu Vultur >> ; Jagan Teki ; Simon >> Goldschmidt ; Stefan Roese ; >> Ashish Kumar >>

Re: [U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-03 Thread Ashish Kumar
> -Original Message- > From: Vignesh Raghavendra > Sent: Tuesday, April 2, 2019 10:04 AM > To: Marek Vasut ; u-boot@lists.denx.de > Cc: Marek Vasut ; Horatiu Vultur > ; Jagan Teki ; Simon > Goldschmidt ; Stefan Roese ; > Ashish Kumar > Subject: Re: [PATCH] mtd: spi: Replace ad-hoc defau

Re: [U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-01 Thread Vignesh Raghavendra
+ Ashish, On 02/04/19 6:22 AM, Marek Vasut wrote: > Replace the ad-hoc erase operation implementation with a simple spi_mem_op > implementation of the same functionality. This is a minor optimization and > removal of the ad-hoc code. > > This however also changes the behavior of the execution of

[U-Boot] [PATCH] mtd: spi: Replace ad-hoc default implementation with spi_mem_op

2019-04-01 Thread Marek Vasut
Replace the ad-hoc erase operation implementation with a simple spi_mem_op implementation of the same functionality. This is a minor optimization and removal of the ad-hoc code. This however also changes the behavior of the execution of the erase opcode from two separate transfer requests to the S