Skip to contentSkip to conversation

mtd: spi-nor-ids: Add identity for GigaDevice GD25LQ128E

PATCH In review Peter Robinson 2 participants 2 messages Nov 10, 2022 – Dec 14, 2022 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: spi-nor-ids: Add identity for GigaDevice GD25LQ128E

Add the Gigadevice GD25LQ128E identifers so it can be properly used.

Datasheet: https://www.gigadevice.com/datasheet/gd25lq128e/

---
 drivers/mtd/spi/spi-nor-ids.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +5 -0
index 4fe8b0d92c4..d9dea7463f0 100644
@@ -123,6 +123,11 @@ const struct flash_info spi_nor_ids[] = {
 			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
 			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
 	},
+	{
+		INFO("gd25lq128e", 0x257018, 0, 64 * 1024, 256,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+	},
 	{
 		INFO("gd25lq256d", 0xc86019, 0, 64 * 1024, 512,
 			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
Signature · 1 line
2.38.1
#1 lore raw
Quoted 16 lines · Peter Robinson

Add the Gigadevice GD25LQ128E identifers so it can be properly used.

Datasheet: https://www.gigadevice.com/datasheet/gd25lq128e/

---
 drivers/mtd/spi/spi-nor-ids.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +0 -0
index 4fe8b0d92c4..d9dea7463f0 100644

drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 127

Quoted 5 lines
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -123,6 +123,11 @@ const struct flash_info spi_nor_ids[] = {
                        SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
                        SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
        },
+       {
+               INFO("gd25lq128e", 0x257018, 0, 64 * 1024, 256,

Seems like part id is wrong, Page 20 shows 0xc86018.

Jagan.