m25p80: Add the mx25l25635f SFPD table
commit51f4613d6514b4cfb132997b81d6d70be86fef8a
authorCédric Le Goater <clg@kaod.org>
Mon, 24 Oct 2022 09:20:15 +0000 (24 11:20 +0200)
committerCédric Le Goater <clg@kaod.org>
Mon, 24 Oct 2022 09:20:15 +0000 (24 11:20 +0200)
tree7b2ada452902a03501e32861c42f21a7b03d3af1
parentdc907a667cbd2689a3618608c0c079fb03926ec3
m25p80: Add the mx25l25635f SFPD table

The mx25l25635e and mx25l25635f chips have the same JEDEC id but the
mx25l25635f has more capabilities reported in the SFDP table. Support
for 4B opcodes is of interest because it is exploited by the Linux
kernel.

The SFDP table size is 0x200 bytes long. The mandatory table for basic
features is available at byte 0x30 and an extra Macronix specific
table is available at 0x60.

Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-Id: <20220722063602.128144-5-clg@kaod.org>
Message-Id: <20221013161241.2805140-6-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/block/m25p80.c
hw/block/m25p80_sfdp.c
hw/block/m25p80_sfdp.h