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

Prabhakar Kushwaha prabhakar.kushwaha at nxp.com
Thu Feb 1 06:18:19 PST 2018


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 for uniform 256KB sector configuration id.
For hybrid configuration ids, fsl_qspi_read_anyreg() was over-rided.  

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     | 293 +++++++++++++++++++++++++++++++++++++-
 include/linux/mtd/spi-nor.h       |  22 +++
 3 files changed, 329 insertions(+), 4 deletions(-)

-- 
2.7.4




More information about the linux-mtd mailing list