summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/473-mtd_m25p80_add_w25q128.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.8/473-mtd_m25p80_add_w25q128.patch')
-rw-r--r--target/linux/generic/patches-3.8/473-mtd_m25p80_add_w25q128.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.8/473-mtd_m25p80_add_w25q128.patch b/target/linux/generic/patches-3.8/473-mtd_m25p80_add_w25q128.patch
new file mode 100644
index 000000000..515ec10e2
--- /dev/null
+++ b/target/linux/generic/patches-3.8/473-mtd_m25p80_add_w25q128.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -750,6 +750,7 @@ static const struct spi_device_id m25p_i
+ { "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
+ { "w25q80", INFO(0xef5014, 0, 64 * 1024, 16, SECT_4K) },
+ { "w25q80bl", INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) },
++ { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
+ { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) },
+
+ /* Catalyst / On Semiconductor -- non-JEDEC */