projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b6a37
)
mtd: spi-nor: add support for w25q128fw
author
Brian Norris
<computersforpeace@gmail.com>
Fri, 18 Sep 2015 22:08:14 +0000
(15:08 -0700)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 29 Sep 2015 20:25:12 +0000
(13:25 -0700)
Tested only with single I/O, but the datasheet says it supports dual and
quad.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi-nor/spi-nor.c
b/drivers/mtd/spi-nor/spi-nor.c
index 14a851f4a2e03fb8115fbe84294507f8669b37c5..4be41fb4f0fbe5fd13421984550b27f7b36b458d 100644
(file)
--- 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) },