[PATCH v2 1/3] mtd: spi-nor: macronix: Drop the redundant flash info fields

Guenter Roeck linux at roeck-us.net
Sat Jun 7 18:04:28 PDT 2025


Hi,

On Mon, Apr 07, 2025 at 03:53:58PM +0800, Cheng Ming Lin wrote:
> From: Cheng Ming Lin <chengminglin at mxic.com.tw>
> 
> Many flash devices share the same ID but have different part numbers.
> To avoid confusion, the part number field is removed.
> 
> Additionally, since SFDP already provides size information and
> functionality covered by no_sfdp_flags, these fields are also removed.
> 
> Furthermore, when 4-byte address instruction table is available,
> the SPI_NOR_4B_OPCODES flag is no longer needed and is removed.
> 
> Signed-off-by: Cheng Ming Lin <chengminglin at mxic.com.tw>
> Acked-by: Tudor Ambarus <tudor.ambarus at linaro.org>

With this patch in place, some of my qemu tests no longer recognize the
flash chips (MX25L25635E/F). Do you have a suggestion on how to handle
this other than avoiding Macronix flash chips when working with qemu ?

Thanks,
Guenter



More information about the linux-mtd mailing list