Re: [RFC PATCH v6 4/4] mtd: spi-nor: add spi_nor_init() function

2017-04-16 Thread Marek Vasut
On 04/16/2017 11:41 PM, Cyrille Pitchen wrote: > This patch extracts some chunks from spi_nor_scan() and moves them into > a new spi_nor_init() function. > > Indeed, spi_nor_init() regroups all the required SPI flash commands to be > sent to the SPI flash memory before performing any runtime

Re: [RFC PATCH v6 4/4] mtd: spi-nor: add spi_nor_init() function

2017-04-16 Thread Marek Vasut
On 04/16/2017 11:41 PM, Cyrille Pitchen wrote: > This patch extracts some chunks from spi_nor_scan() and moves them into > a new spi_nor_init() function. > > Indeed, spi_nor_init() regroups all the required SPI flash commands to be > sent to the SPI flash memory before performing any runtime

[RFC PATCH v6 4/4] mtd: spi-nor: add spi_nor_init() function

2017-04-16 Thread Cyrille Pitchen
This patch extracts some chunks from spi_nor_scan() and moves them into a new spi_nor_init() function. Indeed, spi_nor_init() regroups all the required SPI flash commands to be sent to the SPI flash memory before performing any runtime operations (Fast Read, Page Program, Sector Erase, ...).

[RFC PATCH v6 4/4] mtd: spi-nor: add spi_nor_init() function

2017-04-16 Thread Cyrille Pitchen
This patch extracts some chunks from spi_nor_scan() and moves them into a new spi_nor_init() function. Indeed, spi_nor_init() regroups all the required SPI flash commands to be sent to the SPI flash memory before performing any runtime operations (Fast Read, Page Program, Sector Erase, ...).