mtd: spi-nor: Add support for gd25q16

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 12 18:59:12 PST 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e9cf64dec1067e6f791ec035e916b30907a87365
Commit:     e9cf64dec1067e6f791ec035e916b30907a87365
Parent:     56c5c328962b26e6dc844b4e8e643f145974c04e
Author:     Kamal Dasu <kdasu.kdev at gmail.com>
AuthorDate: Fri Jan 20 14:25:51 2017 -0500
Committer:  Cyrille Pitchen <cyrille.pitchen at atmel.com>
CommitDate: Fri Feb 10 14:21:59 2017 +0100

    mtd: spi-nor: Add support for gd25q16
    
    Add GigaDevice GD25Q16 (16M-bit) to supported list.
    
    Signed-off-by: Kamal Dasu <kdasu.kdev at gmail.com>
    Acked-by: Marek Vasut <marek.vasut at gmail.com>
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen at atmel.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index c042320..70e52ff 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -971,6 +971,11 @@ static const struct flash_info spi_nor_ids[] = {
 
 	/* 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 |
 			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)



More information about the linux-mtd-cvs mailing list