[PATCH 0/3][v2] mtd: spi-nor: Add support of Sector Map Parameter Table
Prabhakar Kushwaha
prabhakar.kushwaha at nxp.com
Tue Feb 6 01:21:05 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 | 297 +++++++++++++++++++++++++++++++++++++-
include/linux/mtd/spi-nor.h | 22 +++
3 files changed, 333 insertions(+), 4 deletions(-)
--
Changes for v2: Incorporated Yogesh's commment
- provide 8 dummy cycle for anyreg
- Save and restore dummy cycles during anyreg read.
2.14.1
More information about the linux-mtd
mailing list