qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] m25p80: Add SFDP support
@ 2020-08-27  9:11 Cédric Le Goater
  2020-08-27  9:11 ` [PATCH 1/2] m25p80: Add basic support for the SFDP command Cédric Le Goater
  2020-08-27  9:11 ` [PATCH 2/2] m25p80: Add the n25q256a SFDP table Cédric Le Goater
  0 siblings, 2 replies; 7+ messages in thread
From: Cédric Le Goater @ 2020-08-27  9:11 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 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



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

end of thread, other threads:[~2020-09-01 16:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-27  9:11 [PATCH 0/2] m25p80: Add SFDP support Cédric Le Goater
2020-08-27  9:11 ` [PATCH 1/2] m25p80: Add basic support for the SFDP command Cédric Le Goater
2020-09-01 13:36   ` Francisco Iglesias
2020-09-01 15:22     ` Cédric Le Goater
2020-08-27  9:11 ` [PATCH 2/2] m25p80: Add the n25q256a SFDP table Cédric Le Goater
2020-09-01 13:38   ` Francisco Iglesias
2020-09-01 13:47     ` 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).