projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072b56a
)
mtd: spi-nor: add support for the Winbond W25X05 flash
author
Gabor Juhos
<juhosg@openwrt.org>
Thu, 26 Mar 2015 22:58:02 +0000
(23:58 +0100)
committer
Brian Norris
<computersforpeace@gmail.com>
Mon, 6 Apr 2015 01:56:21 +0000
(18:56 -0700)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/spi-nor/spi-nor.c
b/drivers/mtd/spi-nor/spi-nor.c
index bdd2937a8553c7757bb6f1ac9e6351a2519309f6..6a5e7cc01056ff9398a615a48170f7a79f2eddb7 100644
(file)
--- a/
drivers/mtd/spi-nor/spi-nor.c
+++ b/
drivers/mtd/spi-nor/spi-nor.c
@@
-663,6
+663,7
@@
static const struct spi_device_id spi_nor_ids[] = {
{ "m25px80", INFO(0x207114, 0, 64 * 1024, 16, 0) },
/* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
+ { "w25x05", INFO(0xef3010, 0, 64 * 1024, 1, SECT_4K) },
{ "w25x10", INFO(0xef3011, 0, 64 * 1024, 2, SECT_4K) },
{ "w25x20", INFO(0xef3012, 0, 64 * 1024, 4, SECT_4K) },
{ "w25x40", INFO(0xef3013, 0, 64 * 1024, 8, SECT_4K) },