Skip to content

5p80: Add SFDP support

Cédric Le Goater qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 6 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- fixed dummy value
- replaced 'sfdp' table by a 'sfdp_read' handler
- more SFDP tables
- fixed Aspeed SMC support
- introduced mx25l25635f chip model for test under Linux.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9m25p80: Add basic support for the SFDP commandMAINTAINERS hw/block/m25p80.c hw/block/m25p80_sfdp.h +1 more+47 -10 replies
2/9m25p80: Add the n25q256a SFDP tablehw/block/m25p80.c hw/block/m25p80_sfdp.c hw/block/m25p80_sfdp.h +1 more+65 -21 reply
3/9m25p80: Add the mx25l25635e SFPD tablehw/block/m25p80.c hw/block/m25p80_sfdp.c hw/block/m25p80_sfdp.h+31 -10 replies
4/9m25p80: Add the mx25l25635f SFPD tablehw/block/m25p80.c hw/block/m25p80_sfdp.c hw/block/m25p80_sfdp.h+71 -00 replies
5/9m25p80: Add the mx66l1g45g SFDP tablehw/block/m25p80.c hw/block/m25p80_sfdp.c hw/block/m25p80_sfdp.h+71 -20 replies
6/9m25p80: Add the w25q256 SFPD tablehw/block/m25p80.c hw/block/m25p80_sfdp.c hw/block/m25p80_sfdp.h+44 -10 replies
7/9m25p80: Add the w25q512jv SFPD tablehw/block/m25p80.c hw/block/m25p80_sfdp.c hw/block/m25p80_sfdp.h+39 -10 replies
8/9arm/aspeed: Replace mx25l25635e chip modelhw/arm/aspeed.c+3 -31 reply
9/9aspeed/smc: Add support for RDSFDP commandhw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+15 -71 reply

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFrancisco IglesiasJoel Stanley
SeriesR-b T-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] 5p80: Add SFDP support

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.

The patches available here :

https://github.com/legoater/qemu/commits/aspeed-5.2

Thanks,

C.

Changes in v2:

- fixed dummy value
- replaced 'sfdp' table by a 'sfdp_read' handler
- more SFDP tables
- fixed Aspeed SMC support
- introduced mx25l25635f chip model for test under Linux.

Cédric Le Goater (9):
m25p80: Add basic support for the SFDP command
m25p80: Add the n25q256a SFDP table
m25p80: Add the mx25l25635e SFPD table
m25p80: Add the mx25l25635f SFPD table
m25p80: Add the mx66l1g45g SFDP table
m25p80: Add the w25q256 SFPD table
m25p80: Add the w25q512jv SFPD table
arm/aspeed: Replace mx25l25635e chip model
aspeed/smc: Add support for RDSFDP command

 hw/block/m25p80_sfdp.h      |  27 ++++
 include/hw/ssi/aspeed_smc.h |   1 +
 hw/arm/aspeed.c             |   6 +-
 hw/block/m25p80.c           |  47 +++++-
 hw/block/m25p80_sfdp.c      | 296 ++++++++++++++++++++++++++++++++++++
 hw/ssi/aspeed_smc.c         |  21 ++-
 MAINTAINERS                 |   2 +-
 hw/block/meson.build        |   1 +
 hw/block/trace-events       |   1 +
 9 files changed, 385 insertions(+), 17 deletions(-)
 create mode 100644 hw/block/m25p80_sfdp.h
 create mode 100644 hw/block/m25p80_sfdp.c
Signature · 1 line
2.25.4