[PATCH v4 00/10] m25p80: Add SFDP support

Cédric Le Goater posted 10 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221013161241.2805140-1-clg@kaod.org
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Andrew Jeffery <andrew@aj.id.au>, Joel Stanley <joel@jms.id.au>, Alistair Francis <alistair@alistair23.me>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
hw/block/m25p80_sfdp.h |  29 ++++
hw/arm/aspeed.c        |   6 +-
hw/block/m25p80.c      |  52 ++++++-
hw/block/m25p80_sfdp.c | 332 +++++++++++++++++++++++++++++++++++++++++
MAINTAINERS            |   2 +-
hw/block/meson.build   |   1 +
hw/block/trace-events  |   1 +
7 files changed, 411 insertions(+), 12 deletions(-)
create mode 100644 hw/block/m25p80_sfdp.h
create mode 100644 hw/block/m25p80_sfdp.c
[PATCH v4 00/10] m25p80: Add SFDP support
Posted by Cédric Le Goater 1 year, 6 months ago
Hello, 

This patchset adds support for JEDEC STANDARD JESD216 Serial Flash
Discovery Parameters (SFDP). SFDP describes 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.

Thanks,

C.

Changes in v4:

 - fixed definition of mx25l25635e
 - removed extern
 - new patches from Patrick

Changes in v3:

 - refresh after 2 years 

Cédric Le Goater (9):
  m25p80: Add basic support for the SFDP command
  m25p80: Add the n25q256a SFDP table
  m25p80: Add erase size for mx25l25635e
  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

Patrick Williams (1):
  m25p80: Add the w25q01jvq SFPD table

 hw/block/m25p80_sfdp.h |  29 ++++
 hw/arm/aspeed.c        |   6 +-
 hw/block/m25p80.c      |  52 ++++++-
 hw/block/m25p80_sfdp.c | 332 +++++++++++++++++++++++++++++++++++++++++
 MAINTAINERS            |   2 +-
 hw/block/meson.build   |   1 +
 hw/block/trace-events  |   1 +
 7 files changed, 411 insertions(+), 12 deletions(-)
 create mode 100644 hw/block/m25p80_sfdp.h
 create mode 100644 hw/block/m25p80_sfdp.c

-- 
2.37.3


Re: [PATCH v4 00/10] m25p80: Add SFDP support
Posted by Joel Stanley 1 year, 6 months ago
On Thu, 13 Oct 2022 at 16:12, Cédric Le Goater <clg@kaod.org> wrote:
>
> Hello,
>
> This patchset adds support for JEDEC STANDARD JESD216 Serial Flash
> Discovery Parameters (SFDP). SFDP describes 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.

Reviewed-by: Joel Stanley <joel@jms.id.au>
Tested-by: Joel Stanley <joel@jms.id.au>

Thanks Cédric!