From a34b0d5315522159ba723feecf507a4d07e043f3 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 24 Oct 2022 11:20:16 +0200 Subject: m25p80: Add the w25q01jvq SFPD table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Francisco Iglesias [ 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 --- hw/block/m25p80.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/block/m25p80.c') 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 { -- cgit v1.1