OSDN Git Service

mtd: spi-nor: Add support for gd25q16
authorKamal Dasu <kdasu.kdev@gmail.com>
Fri, 20 Jan 2017 19:25:51 +0000 (14:25 -0500)
committerCyrille Pitchen <cyrille.pitchen@atmel.com>
Fri, 10 Feb 2017 13:21:59 +0000 (14:21 +0100)
Add GigaDevice GD25Q16 (16M-bit) to supported list.

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
drivers/mtd/spi-nor/spi-nor.c

index c042320..70e52ff 100644 (file)
@@ -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)