mtd: spi-nor: add support for the ISSI SI25CD512 SPI flash
authorGabor Juhos <juhosg@openwrt.org>
Tue, 7 Apr 2015 17:35:02 +0000 (19:35 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 May 2015 07:18:24 +0000 (00:18 -0700)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c

index 5ffb16552b1d6cba2a55f99dcba8ef1d3c7d0e5f..27f13d14e4f0d099fc44ebe358c882ab6d8a60bd 100644 (file)
@@ -560,6 +560,9 @@ static const struct spi_device_id spi_nor_ids[] = {
        { "320s33b",  INFO(0x898912, 0, 64 * 1024,  64, 0) },
        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
 
+       /* ISSI */
+       { "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
+
        /* Macronix */
        { "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },
        { "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },