mtd: spi-nor: Add support for sst25wf020a

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Sep 3 13:59:02 PDT 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a1d97ef96e3899ad9d4ec0024f9b4927e0490689
Commit:     a1d97ef96e3899ad9d4ec0024f9b4927e0490689
Parent:     2a06c7b1fd2389aed2a308db8de803603d592444
Author:     Alexis Ballier <aballier at gentoo.org>
AuthorDate: Fri Aug 14 19:35:39 2015 +0200
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Sep 2 13:57:05 2015 -0700

    mtd: spi-nor: Add support for sst25wf020a
    
    It is a 256KiB flash with 4 KiB erase sectors
    and 64KiB overlay blocks.
    
    This is the one available on Hardkernel's Odroid U3 shield.
    
    Signed-off-by: Alexis Ballier <aballier at gentoo.org>
    [Brian: seems like this does NOT require the usual SST_WRITE hacks]
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 2adf35b..984f6f4 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -634,6 +634,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "sst25wf512",  INFO(0xbf2501, 0, 64 * 1024,  1, SECT_4K | SST_WRITE) },
 	{ "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) },
 	{ "sst25wf040",  INFO(0xbf2504, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
 	{ "sst25wf080",  INFO(0xbf2505, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) },
 



More information about the linux-mtd-cvs mailing list