summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.37
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-06-01 02:23:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-06-01 02:23:18 +0000
commit628cb35179da748c9358c79dff4f5944dd8bd596 (patch)
treec01e0e3bc5a3610f223f55a9201e4ec0310139c1 /target/linux/generic/patches-2.6.37
parentacbb2db5e22e5041a82c825c7a4574d7193bbfcd (diff)
downloadmtk-20170518-628cb35179da748c9358c79dff4f5944dd8bd596.zip
mtk-20170518-628cb35179da748c9358c79dff4f5944dd8bd596.tar.gz
mtk-20170518-628cb35179da748c9358c79dff4f5944dd8bd596.tar.bz2
m25p80: add the chip id for the winbond w25q128 chip
SVN-Revision: 27073
Diffstat (limited to 'target/linux/generic/patches-2.6.37')
-rw-r--r--target/linux/generic/patches-2.6.37/474-mtd_m25p80_add_w25q128.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/474-mtd_m25p80_add_w25q128.patch b/target/linux/generic/patches-2.6.37/474-mtd_m25p80_add_w25q128.patch
new file mode 100644
index 0000000..f24c226
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/474-mtd_m25p80_add_w25q128.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -726,6 +726,7 @@ static const struct spi_device_id m25p_i
+ { "w25q32", INFO(0xef4016, 0, 64 * 1024, 64, SECT_4K) },
+ { "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
+ { "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
++ { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
+
+ /* Catalyst / On Semiconductor -- non-JEDEC */
+ { "cat25c11", CAT25_INFO( 16, 8, 16, 1) },