summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-01 02:23:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-01 02:23:18 +0000
commit66a8e8ec8d60368b6ccfa179d014424f409eed77 (patch)
treede3afc2efd5720dbc217cb31eb86fac7eaea7e94 /target
parent279fea27176ebf52031af3c0971179a8eb4a05bc (diff)
m25p80: add the chip id for the winbond w25q128 chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27073 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/patches-2.6.37/474-mtd_m25p80_add_w25q128.patch10
-rw-r--r--target/linux/generic/patches-2.6.38/473-mtd_m25p80_add_w25q128.patch10
-rw-r--r--target/linux/generic/patches-2.6.39/473-mtd_m25p80_add_w25q128.patch10
3 files changed, 30 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 000000000..f24c22610
--- /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) },
diff --git a/target/linux/generic/patches-2.6.38/473-mtd_m25p80_add_w25q128.patch b/target/linux/generic/patches-2.6.38/473-mtd_m25p80_add_w25q128.patch
new file mode 100644
index 000000000..f24c22610
--- /dev/null
+++ b/target/linux/generic/patches-2.6.38/473-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) },
diff --git a/target/linux/generic/patches-2.6.39/473-mtd_m25p80_add_w25q128.patch b/target/linux/generic/patches-2.6.39/473-mtd_m25p80_add_w25q128.patch
new file mode 100644
index 000000000..d9a52773c
--- /dev/null
+++ b/target/linux/generic/patches-2.6.39/473-mtd_m25p80_add_w25q128.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -748,6 +748,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) },