mtd: spi-nor: add support for Microchip sst26vf064b QSPI memory
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 22 Aug 2017 09:51:16 +0000 (12:51 +0300)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 22 Aug 2017 16:10:26 +0000 (18:10 +0200)
Add support for Microchip sst26vf064b QSPI memory.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/spi-nor.c

index c70c2ebc8661b6ae100390022f99fca8853bb717..cf1d4a15e10a63394b0410f4349e711f602c6c5d 100644 (file)
@@ -1092,6 +1092,7 @@ static const struct flash_info spi_nor_ids[] = {
        { "sst25wf040b", INFO(0x621613, 0, 64 * 1024,  8, SECT_4K) },
        { "sst25wf040",  INFO(0xbf2504, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
        { "sst25wf080",  INFO(0xbf2505, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) },
+       { "sst26vf064b", INFO(0xbf2643, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 
        /* ST Microelectronics -- newer production may have feature updates */
        { "m25p05",  INFO(0x202010,  0,  32 * 1024,   2, 0) },