]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/block: m25p80: Add support for w25q01jvq
authorPatrick Williams <patrick@stwcx.xyz>
Tue, 8 Mar 2022 08:18:11 +0000 (09:18 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 8 Mar 2022 08:18:11 +0000 (09:18 +0100)
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>
hw/block/m25p80.c

index c6bf3c6bfa833b65526bf0bb61a6b50a214e31e5..7d3d8b12e01fe80fe7c7fa8ab07fa83ed251a2a9 100644 (file)
@@ -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 {