Re: [PATCH 0/2] Add support for gigadevice and macronix SPI-NOR

From: Tudor Ambarus
Date: Mon Jul 17 2023 - 12:03:48 EST




On 17.07.2023 18:35, Sridharan S N wrote:
> This series add support for SPI NOR devices mentioned below:
>
> gigadevice:
> gd25lb256e - This supports quad read and uniform 4K-byte erase.
> gd25d{2,4}0c - These supports dual read and uniform 4K-byte erase.
>
> macronix:
> mx66u1g45g - This chip supports stateless 4-byte opcodes, dual and quad
> read and uniform 4K-byte erase.
> Sridharan S N (2):
> mtd: spi-nor: gigadevice: Add support for gd25lb256e and gd25d{2,4}0c
> mtd: spi-nor: macronix: Add support for mx66u1g45g
>
> drivers/mtd/spi-nor/gigadevice.c | 6 ++++++
> drivers/mtd/spi-nor/macronix.c | 3 +++
> 2 files changed, 9 insertions(+)
>

All these flashes should support SFDP, thus you don't need to explicitly
define them. See
https://lore.kernel.org/linux-mtd/bfc85475bdcea46ea6c3ece98cc1e9cc@xxxxxxxx/T/#mf79010e7031b03bda31690b4229a4f27f712f3a7