summaryrefslogtreecommitdiffstats
path: root/hw/block
diff options
context:
space:
mode:
authorPatrick Williams2022-03-08 09:18:11 +0100
committerCédric Le Goater2022-03-08 09:18:11 +0100
commit8fd49126dc9d3ae65f29efcc07b8e62e596fc5de (patch)
tree8b4aadb8e73177b27e98899306b7e082e70199b4 /hw/block
parentaspeed/smc: Fix error log (diff)
downloadqemu-8fd49126dc9d3ae65f29efcc07b8e62e596fc5de.tar.gz
qemu-8fd49126dc9d3ae65f29efcc07b8e62e596fc5de.tar.xz
qemu-8fd49126dc9d3ae65f29efcc07b8e62e596fc5de.zip
hw/block: m25p80: Add support for w25q01jvq
The w25q01jvq is a 128MB part. Support is being added to the kernel[1] and the two have been tested together. 1. https://lore.kernel.org/lkml/20220222092222.23108-1-potin.lai@quantatw.com/ Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Cc: Potin Lai <potin.lai@quantatw.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> Message-Id: <20220304180920.1780992-1-patrick@stwcx.xyz> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/block')
-rw-r--r--hw/block/m25p80.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index c6bf3c6bfa..7d3d8b12e0 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -340,6 +340,7 @@ static const FlashPartInfo known_devices[] = {
{ INFO("w25q80bl", 0xef4014, 0, 64 << 10, 16, ER_4K) },
{ INFO("w25q256", 0xef4019, 0, 64 << 10, 512, ER_4K) },
{ INFO("w25q512jv", 0xef4020, 0, 64 << 10, 1024, ER_4K) },
+ { INFO("w25q01jvq", 0xef4021, 0, 64 << 10, 2048, ER_4K) },
};
typedef enum {