summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-06 17:59:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-06 17:59:16 +0000
commit8282b63fa1af3cf8139224433a6095d76d7ae2e9 (patch)
tree9021a8cec8a8debb010b691faaef284feb830e7c /target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch
parent277682aaee812bf954ff7ea78c6de5c18c57ddac (diff)
downloadmtk-20170518-8282b63fa1af3cf8139224433a6095d76d7ae2e9.zip
mtk-20170518-8282b63fa1af3cf8139224433a6095d76d7ae2e9.tar.gz
mtk-20170518-8282b63fa1af3cf8139224433a6095d76d7ae2e9.tar.bz2
ar71xx: add support for the Winbond W25Q32BV SPI flash (based on the patch from #6641)
SVN-Revision: 19536
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch')
-rw-r--r--target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch b/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch
new file mode 100644
index 0000000..0e4c060
--- /dev/null
+++ b/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -692,6 +692,7 @@ static struct flash_info __devinitdata m
+ { "w25x80", 0xef3014, 0, 64 * 1024, 16, SECT_4K, },
+ { "w25x16", 0xef3015, 0, 64 * 1024, 32, SECT_4K, },
+ { "w25x32", 0xef3016, 0, 64 * 1024, 64, SECT_4K, },
++ { "w25q32", 0xef4016, 0, 64 * 1024, 64, SECT_4K, },
+ { "w25x64", 0xef3017, 0, 64 * 1024, 128, SECT_4K, },
+ };
+