32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 036272e1254e24e04ec53d9deaedf3597df64e53 Mon Sep 17 00:00:00 2001
|
|
From: Martijn Braam <martijn@brixit.nl>
|
|
Date: Sat, 29 Jan 2022 23:06:29 +0100
|
|
Subject: [PATCH 296/391] mtd: spi-nor: gigadevice: add support for gd25lq128e
|
|
|
|
The GD25LQ128EWIGR reports an JEDEC id with a different vendor,
|
|
otherwise it seems to fit neatly in the gigadevice list.
|
|
|
|
Signed-off-by: Martijn Braam <martijn@brixit.nl>
|
|
---
|
|
drivers/mtd/spi-nor/gigadevice.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/drivers/mtd/spi-nor/gigadevice.c b/drivers/mtd/spi-nor/gigadevice.c
|
|
index d57ddaf15..fa29f9370 100644
|
|
--- a/drivers/mtd/spi-nor/gigadevice.c
|
|
+++ b/drivers/mtd/spi-nor/gigadevice.c
|
|
@@ -58,6 +58,10 @@ static const struct flash_info gigadevice_nor_parts[] = {
|
|
FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
|
|
NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
|
|
SPI_NOR_QUAD_READ) },
|
|
+ { "gd25lq128e", INFO(0x257018, 0, 64 * 1024, 256)
|
|
+ FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
|
|
+ NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
|
|
+ SPI_NOR_QUAD_READ) },
|
|
{ "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256)
|
|
FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
|
|
NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
|
|
--
|
|
2.35.3
|
|
|