mtd: spi-nor: add support for w25q128fw
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 6 10:59:06 PST 2015
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=4404bd742db767a7f316b1207c46a04a38ca7198
Commit: 4404bd742db767a7f316b1207c46a04a38ca7198
Parent: 09b6a377687b885565339e60bc62566433a0406f
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Fri Sep 18 15:08:14 2015 -0700
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Sep 29 13:25:12 2015 -0700
mtd: spi-nor: add support for w25q128fw
Tested only with single I/O, but the datasheet says it supports dual and
quad.
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 14a851f..4be41fb 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -718,6 +718,7 @@ static const struct flash_info spi_nor_ids[] = {
{ "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
{ "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
{ "w25q64dw", INFO(0xef6017, 0, 64 * 1024, 128, SECT_4K) },
+ { "w25q128fw", INFO(0xef6018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "w25q80", INFO(0xef5014, 0, 64 * 1024, 16, SECT_4K) },
{ "w25q80bl", INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) },
{ "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
More information about the linux-mtd-cvs
mailing list