aboutsummaryrefslogtreecommitdiff
path: root/hw/block/m25p80.c
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2022-10-24 11:20:16 +0200
committerCédric Le Goater <clg@kaod.org>2022-10-24 11:20:16 +0200
commita34b0d5315522159ba723feecf507a4d07e043f3 (patch)
treeff7b26686b59a3068b35341c38d548354a8be955 /hw/block/m25p80.c
parent8e57da5856e47904029d982240ed25c3cdef5e80 (diff)
downloadqemu-a34b0d5315522159ba723feecf507a4d07e043f3.zip
qemu-a34b0d5315522159ba723feecf507a4d07e043f3.tar.gz
qemu-a34b0d5315522159ba723feecf507a4d07e043f3.tar.bz2
m25p80: Add the w25q01jvq SFPD table
Generated from hardware using the following command and then padding with 0xff to fill out a power-of-2: hexdump -v -e '8/1 "0x%02x, " "\n"' sfdp` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> [ clg: removed extern ] Message-Id: <20221006224424.3556372-1-patrick@stwcx.xyz> Message-Id: <20221013161241.2805140-10-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/block/m25p80.c')
-rw-r--r--hw/block/m25p80.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 8353a00..02adc87 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -349,7 +349,8 @@ static const FlashPartInfo known_devices[] = {
.sfdp_read = m25p80_sfdp_w25q256 },
{ INFO("w25q512jv", 0xef4020, 0, 64 << 10, 1024, ER_4K),
.sfdp_read = m25p80_sfdp_w25q512jv },
- { INFO("w25q01jvq", 0xef4021, 0, 64 << 10, 2048, ER_4K) },
+ { INFO("w25q01jvq", 0xef4021, 0, 64 << 10, 2048, ER_4K),
+ .sfdp_read = m25p80_sfdp_w25q01jvq },
};
typedef enum {