mtd: spi-nor: Add support for sst25wf040b
authorYao Yuan <yao.yuan@freescale.com>
Wed, 16 Sep 2015 09:59:45 +0000 (17:59 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 29 Sep 2015 20:17:23 +0000 (13:17 -0700)
It is a 512KiB flash with 4 KiB erase sectors.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c

index 11c882a5ab219f47d3a562334e97023ecd45ac59..c616ff5701a1ecfc37c0645d0f1b0754524c56ae 100644 (file)
@@ -635,6 +635,7 @@ static const struct flash_info spi_nor_ids[] = {
        { "sst25wf010",  INFO(0xbf2502, 0, 64 * 1024,  2, SECT_4K | SST_WRITE) },
        { "sst25wf020",  INFO(0xbf2503, 0, 64 * 1024,  4, SECT_4K | SST_WRITE) },
        { "sst25wf020a", INFO(0x621612, 0, 64 * 1024,  4, SECT_4K) },
+       { "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) },