mtd: spi-nor: Add support for Spansion S25FL064L

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Jul 13 10:59:09 PDT 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d8b494a32889eae6eebb71bb4de3e14025026fe5
Commit:     d8b494a32889eae6eebb71bb4de3e14025026fe5
Parent:     af18ba48420e39833ccaedfe98b98fdef040c6eb
Author:     Harry Chou <harryyc.chou at gmail.com>
AuthorDate: Fri Jun 23 03:58:11 2017 +0800
Committer:  Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
CommitDate: Mon Jun 26 23:06:57 2017 +0200

    mtd: spi-nor: Add support for Spansion S25FL064L
    
    It's an 8 MiB flash with 4 KiB erase sectors.
    
    Signed-off-by: Harry Chou <HarryYC.Chou at gmail.com>
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
---
 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 2659bba..1413828 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1064,6 +1064,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "s25fl164k",  INFO(0x014017,      0,  64 * 1024, 128, SECT_4K) },
 	{ "s25fl204k",  INFO(0x014013,      0,  64 * 1024,   8, SECT_4K | SPI_NOR_DUAL_READ) },
 	{ "s25fl208k",  INFO(0x014014,      0,  64 * 1024,  16, SECT_4K | SPI_NOR_DUAL_READ) },
+	{ "s25fl064l",  INFO(0x016017,      0,  64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 
 	/* SST -- large erase sizes are "overlays", "sectors" are 4K */
 	{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },



More information about the linux-mtd-cvs mailing list