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 | 52514908ffb35bcd2f443fe5fe7c3b8f8d83ae33 (patch) | |
tree | 20096bf5a13151be39600663b4769d81e24c3fda /hw/block/m25p80.c | |
parent | 51f4613d6514b4cfb132997b81d6d70be86fef8a (diff) | |
download | qemu-52514908ffb35bcd2f443fe5fe7c3b8f8d83ae33.zip qemu-52514908ffb35bcd2f443fe5fe7c3b8f8d83ae33.tar.gz qemu-52514908ffb35bcd2f443fe5fe7c3b8f8d83ae33.tar.bz2 |
m25p80: Add the mx66l1g45g SFDP table
The SFDP table size is 0x200 bytes long. The mandatory table for basic
features is available at byte 0x30 plus some more Macronix specific
tables.
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-Id: <20220722063602.128144-6-clg@kaod.org>
Message-Id: <20221013161241.2805140-7-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index ffed1d6..376be32 100644 --- a/hw/block/m25p80.c +++ b/hw/block/m25p80.c @@ -240,7 +240,8 @@ static const FlashPartInfo known_devices[] = { { INFO("mx66l51235f", 0xc2201a, 0, 64 << 10, 1024, ER_4K | ER_32K) }, { INFO("mx66u51235f", 0xc2253a, 0, 64 << 10, 1024, ER_4K | ER_32K) }, { INFO("mx66u1g45g", 0xc2253b, 0, 64 << 10, 2048, ER_4K | ER_32K) }, - { INFO("mx66l1g45g", 0xc2201b, 0, 64 << 10, 2048, ER_4K | ER_32K) }, + { INFO("mx66l1g45g", 0xc2201b, 0, 64 << 10, 2048, ER_4K | ER_32K), + .sfdp_read = m25p80_sfdp_mx66l1g45g }, /* Micron */ { INFO("n25q032a11", 0x20bb16, 0, 64 << 10, 64, ER_4K) }, |