summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-03 16:13:33 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-03 16:13:33 +0000
commit8be1093039aa9942ec456dff0255c2b0c41f2cce (patch)
treee173de5498db08719c81621c36a6bbbdb0c67eb0 /target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch
parentc588a703feb2241e803da3db71f685b57b408102 (diff)
target/linux: add preliminary 2.6.37 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23828 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch')
-rw-r--r--target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch
new file mode 100644
index 0000000000..5de170dfee
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/090-mtd-m25p80-add-en25f32-chip-support.patch
@@ -0,0 +1,12 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -656,7 +656,8 @@ static const struct spi_device_id m25p_i
+ { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
+ { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
+
+- /* 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) },
+