summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-07 05:56:49 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-07 05:56:49 +0000
commit072012a0cb3940a49497875c64115b888a8c0114 (patch)
treec994044b122c2d373cc4d77fadb3f6b53a228431 /target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch
parent3f98f7cf509c6f45b6c1c7bcd8cf521fa88ac6e1 (diff)
generic-2.6: add kernel 2.6.35 preliminary support (patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21696 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch b/target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch
new file mode 100644
index 000000000..34dfdbd89
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.35/087-mtd-m25p80-add-w25q32-chip-support.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -707,6 +707,7 @@ static const struct spi_device_id m25p_i
+ { "w25x80", INFO(0xef3014, 0, 64 * 1024, 16, SECT_4K) },
+ { "w25x16", INFO(0xef3015, 0, 64 * 1024, 32, SECT_4K) },
+ { "w25x32", INFO(0xef3016, 0, 64 * 1024, 64, SECT_4K) },
++ { "w25q32", INFO(0xef4016, 0, 64 * 1024, 64, SECT_4K) },
+ { "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
+
+ /* Catalyst / On Semiconductor -- non-JEDEC */