summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2016-05-06 08:37:41 -0700
committerBrian Norris <computersforpeace@gmail.com>2016-05-10 15:44:18 -0700
commite5366a266a8cd4cd6b0fe66876462cca2e1c6a89 (patch)
treeea7f4614fa52215c93695fa85c0e8cab28b6d839 /drivers/mtd
parent3603ea0aeed7dc2b54144b5913eb303173361123 (diff)
downloadlinux-stable-e5366a266a8cd4cd6b0fe66876462cca2e1c6a89.tar.gz
linux-stable-e5366a266a8cd4cd6b0fe66876462cca2e1c6a89.tar.bz2
linux-stable-e5366a266a8cd4cd6b0fe66876462cca2e1c6a89.zip
mtd: spi-nor: support GigaDevice gd25lq64c
Also note the GigaDevice JEDEC ID. No write-protect support yet, since this flash uses a different status register layout. Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi-nor/spi-nor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 157841dc3e99..c52e45594bfd 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -832,6 +832,7 @@ static const struct flash_info spi_nor_ids[] = {
/* GigaDevice */
{ "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64, SECT_4K) },
{ "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) },
+ { "gd25lq64c", INFO(0xc86017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256, SECT_4K) },
/* Intel/Numonyx -- xxxs33b */