qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] 5p80: Add SFDP support
@ 2020-09-02  9:30 Cédric Le Goater
  2020-09-02  9:30 ` [PATCH v2 1/9] m25p80: Add basic support for the SFDP command Cédric Le Goater
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Cédric Le Goater @ 2020-09-02  9:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Andrew Jeffery, Francisco Iglesias,
	Alistair Francis, qemu-arm, Joel Stanley, Cédric Le Goater

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

-- 
2.25.4



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-10-07  6:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-02  9:30 [PATCH v2 0/9] 5p80: Add SFDP support Cédric Le Goater
2020-09-02  9:30 ` [PATCH v2 1/9] m25p80: Add basic support for the SFDP command Cédric Le Goater
2020-09-02  9:31 ` [PATCH v2 2/9] m25p80: Add the n25q256a SFDP table Cédric Le Goater
2020-09-17 15:10   ` Francisco Iglesias
2020-09-02  9:31 ` [PATCH v2 3/9] m25p80: Add the mx25l25635e SFPD table Cédric Le Goater
2020-09-02  9:31 ` [PATCH v2 4/9] m25p80: Add the mx25l25635f " Cédric Le Goater
2020-09-02  9:31 ` [PATCH v2 5/9] m25p80: Add the mx66l1g45g SFDP table Cédric Le Goater
2020-09-02  9:31 ` [PATCH v2 6/9] m25p80: Add the w25q256 SFPD table Cédric Le Goater
2020-09-02  9:31 ` [PATCH v2 7/9] m25p80: Add the w25q512jv " Cédric Le Goater
2020-09-02  9:31 ` [PATCH v2 8/9] arm/aspeed: Replace mx25l25635e chip model Cédric Le Goater
2020-09-17 14:52   ` Francisco Iglesias
2020-09-02  9:31 ` [PATCH v2 9/9] aspeed/smc: Add support for RDSFDP command Cédric Le Goater
2020-09-17 14:47   ` Francisco Iglesias
2020-10-07  1:43 ` [PATCH v2 0/9] 5p80: Add SFDP support Joel Stanley
2020-10-07  3:55   ` Joel Stanley
2020-10-07  6:33   ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).