summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2012-10-23 12:21:34 +0000
committerImre Kaloz <kaloz@openwrt.org>2012-10-23 12:21:34 +0000
commit949b46d13d1e21b596f505a2e69956565e365d77 (patch)
tree4b51f4852224df7cc2d056071ee51bfcb9c5b7f4 /target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch
parent0d2cf5f9e363c8e41b32921b0ab2aa3d4621dfd5 (diff)
downloadmaster-31e0f0ae-949b46d13d1e21b596f505a2e69956565e365d77.tar.gz
master-31e0f0ae-949b46d13d1e21b596f505a2e69956565e365d77.tar.bz2
master-31e0f0ae-949b46d13d1e21b596f505a2e69956565e365d77.zip
linux 3.6 support (work in progress)
SVN-Revision: 33897
Diffstat (limited to 'target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch')
-rw-r--r--target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch b/target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch
new file mode 100644
index 0000000000..290f4f6b8b
--- /dev/null
+++ b/target/linux/generic/patches-3.6/473-mtd_m25p80_add_w25q128.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -765,6 +765,7 @@ static const struct spi_device_id m25p_i
+ { "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
+ { "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
+ { "w25q80", INFO(0xef5014, 0, 64 * 1024, 16, SECT_4K) },
++ { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
+
+ /* Catalyst / On Semiconductor -- non-JEDEC */
+ { "cat25c11", CAT25_INFO( 16, 8, 16, 1) },