RE: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-13 Thread Kuldeep Singh
deep Singh ; u-boot@lists.denx.de > >> Cc: Joe Hershberger ; Thomas Hebb > >> ; Patrick Delaunay > >> Subject: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to > >> access flash memory > >> > >> Caution: EXT Email > >> >

Re: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-13 Thread Schrempf Frieder
unay >> Subject: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access >> flash memory >> >> Caution: EXT Email >> >> On 08.01.20 10:08, Kuldeep Singh wrote: >>> Current PFE firmware access spi-nor memory directly. New spi-mem >>>

RE: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-10 Thread Kuldeep Singh
Hi Frieder, > -Original Message- > From: Schrempf Frieder > Sent: Wednesday, January 8, 2020 2:52 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Joe Hershberger ; Thomas Hebb > ; Patrick Delaunay > Subject: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read

Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-08 Thread Schrempf Frieder
On 08.01.20 10:08, Kuldeep Singh wrote: > Current PFE firmware access spi-nor memory directly. New spi-mem > framework does not support direct memory access. So, let's use > spi_flash_read API to access memory instead of directly using it. > > Signed-off-by: Kuldeep Singh > --- > v3: > -Replace r

[Patch v3] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-08 Thread Kuldeep Singh
Current PFE firmware access spi-nor memory directly. New spi-mem framework does not support direct memory access. So, let's use spi_flash_read API to access memory instead of directly using it. Signed-off-by: Kuldeep Singh --- v3: -Replace ret with 0 if flash probe fails v2: -Add return error cod