summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-01-21 17:52:22 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-01-21 17:52:22 +0000
commitc700e57cc7b1ec4cd15dc1d5342bc9053308b8b8 (patch)
treefffe1ce8f0bbf431763fbb40f3388dc5e1d4ed8b /target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch
parent02bf1599a3b87a41686bf1cb78d62fe71040b192 (diff)
downloadmtk-20170518-c700e57cc7b1ec4cd15dc1d5342bc9053308b8b8.zip
mtk-20170518-c700e57cc7b1ec4cd15dc1d5342bc9053308b8b8.tar.gz
mtk-20170518-c700e57cc7b1ec4cd15dc1d5342bc9053308b8b8.tar.bz2
preliminary 2.6.38 support
SVN-Revision: 25057
Diffstat (limited to 'target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch')
-rw-r--r--target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch
new file mode 100644
index 0000000..d0b3496
--- /dev/null
+++ b/target/linux/generic/patches-2.6.38/090-mtd-m25p80-add-en25f32-chip-support.patch
@@ -0,0 +1,12 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -657,7 +657,8 @@ static const struct spi_device_id m25p_i
+ { "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
+ { "at26df321", INFO(0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
+
+- /* EON -- en25pxx */
++ /* EON -- en25xxx */
++ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) },
+ { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },
+ { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+