[PATCH] mtd: spi-nor: macronix: Add support for mx66l2g45g
Joakim Tjernlund
Joakim.Tjernlund at infinera.com
Thu Feb 15 08:02:15 PST 2024
On Thu, 2024-02-15 at 16:55 +0100, Sebastian Falbesoner wrote:
> From: Sebastian Falbesoner <s.falbesoner at schrack-seconet.com>
>
> For reference, see the corresponding entry in u-boot,
> introduced in commit baef13ec9d592a27b5d3bf03967bfd2bebd65157:
>
> [ in drivers/mtd/spi/spi-nor-ids.c:274 ]
I think this should go to stable as well?
> ----
> { INFO("mx66l2g45g", 0xc2201c, 0, 64 * 1024, 4096,
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
> ----
>
> Signed-off-by: Sebastian Falbesoner <s.falbesoner at schrack-seconet.com>
> ---
> drivers/mtd/spi-nor/macronix.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
> index ea6be95e75a5..1a8f8b654dda 100644
> --- a/drivers/mtd/spi-nor/macronix.c
> +++ b/drivers/mtd/spi-nor/macronix.c
> @@ -90,6 +90,12 @@ static const struct flash_info macronix_nor_parts[] = {
> .name = "mx66l1g45g",
> .size = SZ_128M,
> .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
> + }, {
> + .id = SNOR_ID(0xc2, 0x20, 0x1c),
> + .name = "mx66l2g45g",
> + .size = SZ_256M,
> + .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
> + .fixup_flags = SPI_NOR_4B_OPCODES,
> }, {
> .id = SNOR_ID(0xc2, 0x23, 0x14),
> .name = "mx25v8035f",
More information about the linux-mtd
mailing list