diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-10-24 11:20:15 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-10-24 11:20:15 +0200 |
commit | 5eb24fbd8c82fc71282fa6db5184a40e560ed25c (patch) | |
tree | c41eded673ed800ff05700dd9fe8fb48697c3d01 /hw/block/m25p80_sfdp.h | |
parent | 2389bcc259df915d1b244b270e9c3d3d7e097a88 (diff) | |
download | qemu-5eb24fbd8c82fc71282fa6db5184a40e560ed25c.zip qemu-5eb24fbd8c82fc71282fa6db5184a40e560ed25c.tar.gz qemu-5eb24fbd8c82fc71282fa6db5184a40e560ed25c.tar.bz2 |
m25p80: Add the n25q256a SFDP table
The same values were collected on 4 differents OpenPower systems,
palmettos, romulus and tacoma.
The SFDP table size is defined as being 0x100 bytes but it could be
bigger. Only the mandatory table for basic features is available at
byte 0x30.
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-Id: <20220722063602.128144-3-clg@kaod.org>
Message-Id: <20221013161241.2805140-3-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/block/m25p80_sfdp.h')
-rw-r--r-- | hw/block/m25p80_sfdp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/m25p80_sfdp.h b/hw/block/m25p80_sfdp.h index 230b07e..7245412 100644 --- a/hw/block/m25p80_sfdp.h +++ b/hw/block/m25p80_sfdp.h @@ -15,4 +15,6 @@ */ #define M25P80_SFDP_MAX_SIZE (1 << 24) +uint8_t m25p80_sfdp_n25q256a(uint32_t addr); + #endif |