[RFC 0/3] mtd: spi-nor: Add support of Sector Map Parameter Table

Prabhakar Kushwaha prabhakar.kushwaha at nxp.com
Wed Jan 3 17:33:51 PST 2018


Hi Cyrille,


> -----Original Message-----
> From: Prabhakar Kushwaha [mailto:prabhakar.kushwaha at nxp.com]
> Sent: Friday, December 29, 2017 5:24 PM
> To: linux-mtd at lists.infradead.org
> Cc: computersforpeace at gmail.com; boris.brezillon at free-electrons.com;
> marek.vasut at gmail.com; cyrille.pitchen at wedev4u.fr; Poonam Aggrwal
> <poonam.aggrwal at nxp.com>; Suresh Gupta <suresh.gupta at nxp.com>; Ashish
> Kumar <ashish.kumar at nxp.com>; Yogesh Narayan Gaur
> <yogeshnarayan.gaur at nxp.com>; Rajat Srivastava <rajat.srivastava at nxp.com>;
> Fabio Estevam <fabio.estevam at nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>
> Subject: [RFC 0/3] mtd: spi-nor: Add support of Sector Map Parameter Table
> 
> JESD216B defines Sector Map Parameter Table. It identifies the
> location and size of sectors within the main data array of the
> flash memory device and identifies which Erase Types are supported
> by each sector. This table is used when a memory device has sectors
> of more than one size Or, does not allow all Erase Type commands to
> be applied to all sectors.
> 
> This patch-set add support of Sector Map Parameter Table parsing.
> It also update framework to support read/write anyreg commands
> required by S25FS512S flash.
> 
> Tested with "S25FS512S" flash and by over-riding fsl_qspi_read_anyreg()
> return with desired configuration id i.e. 0x05. Flash was
> pre-programmed for Uniform 256-kB sectors via non-volatile registers.
> 
> Prabhakar Kushwaha (3):
>   mtd: spi-nor: Add support of read/write any reg commands
>   mtd: spi-nor: Implement anyreg functions for fsl-quadspi
>   mtd: spi-nor: Add support of Sector Map Parameter Table
> 
>  drivers/mtd/spi-nor/fsl-quadspi.c |  18 +++
>  drivers/mtd/spi-nor/spi-nor.c     | 266
> +++++++++++++++++++++++++++++++++++++-
>  include/linux/mtd/spi-nor.h       |  21 +++
>  3 files changed, 302 insertions(+), 3 deletions(-)
> 

Can you please review this patch-set. 
I want to incorporate review comments for the v1 patch.

Thanks
-pk




More information about the linux-mtd mailing list