summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-11-15 00:46:16 -0600
committerYe Li <ye.li@nxp.com>2017-12-08 07:00:41 -0600
commit945ec087f6481ccc24b124aa9b1a0e159174e4d4 (patch)
treedf856d6209e6bd6f2ea7f1b9ab797345210472c5
parent0e9dbe4f74fdc0fae1acd8ad5b75815c28286be1 (diff)
MLK-17109-2 spi_flash: Add gd25q16c to flash ids table
The i.MX8MQ DDR3L ARM2 boards uses gd25q16c flash device, add its id to spi flash ids table. Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--drivers/mtd/spi/spi_flash_ids.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index 6a114e1f21..cc58b8a55e 100644
--- a/drivers/mtd/spi/spi_flash_ids.c
+++ b/drivers/mtd/spi/spi_flash_ids.c
@@ -63,6 +63,7 @@ const struct spi_flash_info spi_flash_ids[] = {
{"en25s64", INFO(0x1c3817, 0x0, 64 * 1024, 128, 0) },
#endif
#ifdef CONFIG_SPI_FLASH_GIGADEVICE /* GIGADEVICE */
+ {"gd25q16c", INFO(0xc84015, 0x0, 64 * 1024, 32, SECT_4K) },
{"gd25q64b", INFO(0xc84017, 0x0, 64 * 1024, 128, SECT_4K) },
{"gd25lq32", INFO(0xc86016, 0x0, 64 * 1024, 64, SECT_4K) },
#endif