summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.32/087-mtd-m25p80-add-w25q32-chip-support.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-08 09:37:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-08 09:37:16 +0000
commitd2cd6f3b9999359533ecd8f5b3af8ceb5d0c8d4c (patch)
tree7f27b4bdc715d7c7939de3d456570653e615f1b1 /target/linux/generic-2.6/patches-2.6.32/087-mtd-m25p80-add-w25q32-chip-support.patch
parentc25bf09111d91d4e5bf74eed69813a21d6e36eba (diff)
downloadmaster-31e0f0ae-d2cd6f3b9999359533ecd8f5b3af8ceb5d0c8d4c.tar.gz
master-31e0f0ae-d2cd6f3b9999359533ecd8f5b3af8ceb5d0c8d4c.tar.bz2
master-31e0f0ae-d2cd6f3b9999359533ecd8f5b3af8ceb5d0c8d4c.zip
kernel: 2.6.32: integrate m25p80 driver related patches from ar71xx
SVN-Revision: 19547
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.32/087-mtd-m25p80-add-w25q32-chip-support.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/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.32/087-mtd-m25p80-add-w25q32-chip-support.patch b/target/linux/generic-2.6/patches-2.6.32/087-mtd-m25p80-add-w25q32-chip-support.patch
new file mode 100644
index 0000000000..5f44c1d696
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.32/087-mtd-m25p80-add-w25q32-chip-support.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -687,6 +687,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, },
+ };
+