From: Kamal Dasu Date: Fri, 20 Jan 2017 19:25:51 +0000 (-0500) Subject: mtd: spi-nor: Add support for gd25q16 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e9cf64dec1067e6f791ec035e916b30907a87365;p=openwrt%2Fstaging%2Fblogic.git mtd: spi-nor: Add support for gd25q16 Add GigaDevice GD25Q16 (16M-bit) to supported list. Signed-off-by: Kamal Dasu Acked-by: Marek Vasut Signed-off-by: Cyrille Pitchen --- diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index c042320a76cb..70e52ffc2203 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -970,6 +970,11 @@ static const struct flash_info spi_nor_ids[] = { { "mb85rs1mt", INFO(0x047f27, 0, 128 * 1024, 1, SPI_NOR_NO_ERASE) }, /* GigaDevice */ + { + "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) + }, { "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |