aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.34
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-08-14 21:07:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-08-14 21:07:28 +0000
commit57bba92916a02bf1221838cd1181724ba4ee900e (patch)
treef621908055d6f0ac7b9fb12989da2aef3bc628ca /target/linux/generic/patches-2.6.34
parent2126f5a1cd8ddef406601eb088148999f54c4e0a (diff)
downloadupstream-57bba92916a02bf1221838cd1181724ba4ee900e.tar.gz
upstream-57bba92916a02bf1221838cd1181724ba4ee900e.tar.bz2
upstream-57bba92916a02bf1221838cd1181724ba4ee900e.zip
generic: fix wrong number of erase sectors for xxxS33B SPI flashes
SVN-Revision: 22643
Diffstat (limited to 'target/linux/generic/patches-2.6.34')
-rw-r--r--target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch b/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch
index 293ed8bdb6..69c595e0a0 100644
--- a/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch
+++ b/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch
@@ -5,9 +5,9 @@
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+ /* Numonyx -- xxxs33b */
-+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) },
-+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) },
-+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) },
++ { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) },
++ { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) },
++ { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
+
/* PMC -- pm25x "blocks" are 32K, sectors are 4K */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) },