Browse Source

mtd: Add SPI Nor Flash chip GD25LQ256D ID

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
yanhong.wang 3 years ago
parent
commit
00d23ec4b5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      drivers/mtd/spi/spi-nor-ids.c

+ 5 - 0
drivers/mtd/spi/spi-nor-ids.c

@@ -122,6 +122,11 @@ const struct flash_info spi_nor_ids[] = {
 			SECT_4K | SPI_NOR_DUAL_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 |
+			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+	},
 #endif
 #ifdef CONFIG_SPI_FLASH_ISSI		/* ISSI */
 	/* ISSI */