[PATCH 0/2] m25p80: Add SFDP support

Cédric Le Goater posted 2 patches 3 years, 8 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/block/m25p80_sfdp.h | 17 +++++++++++++++
hw/block/m25p80.c      | 39 +++++++++++++++++++++++++++++++--
hw/block/m25p80_sfdp.c | 49 ++++++++++++++++++++++++++++++++++++++++++
hw/block/Makefile.objs |  2 +-
hw/block/trace-events  |  1 +
5 files changed, 105 insertions(+), 3 deletions(-)
create mode 100644 hw/block/m25p80_sfdp.h
create mode 100644 hw/block/m25p80_sfdp.c
[PATCH 0/2] m25p80: Add SFDP support
Posted by Cédric Le Goater 3 years, 8 months ago
Hello,

JEDEC STANDARD JESD216 for Serial Flash Discovery Parameters (SFDP)
provides a mean to describe the features of a serial flash device
using a set of internal parameter tables. Support in Linux has been
added some time ago and the spi-nor driver is using it more often
to detect the flash settings and even flash models.

This is the initial framework for the RDSFDP command giving access to
a private SFDP area under the flash and one example for the n25q256a
to check this is a good approach.

Thanks,

C.

Cédric Le Goater (2):
  m25p80: Add basic support for the SFDP command
  m25p80: Add the n25q256a SFDP table

 hw/block/m25p80_sfdp.h | 17 +++++++++++++++
 hw/block/m25p80.c      | 39 +++++++++++++++++++++++++++++++--
 hw/block/m25p80_sfdp.c | 49 ++++++++++++++++++++++++++++++++++++++++++
 hw/block/Makefile.objs |  2 +-
 hw/block/trace-events  |  1 +
 5 files changed, 105 insertions(+), 3 deletions(-)
 create mode 100644 hw/block/m25p80_sfdp.h
 create mode 100644 hw/block/m25p80_sfdp.c

-- 
2.25.4