aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.33
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-05-09 09:25:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-05-09 09:25:41 +0000
commitd3092630a806d18f9daa40ea976d0ac08340a41d (patch)
tree3736b8eb3d8a993b6fbee1de33a1ff510468e74f /target/linux/generic-2.6/patches-2.6.33
parent3aa09d05fdbb14d8e330b15e7aece5767e637b27 (diff)
downloadupstream-d3092630a806d18f9daa40ea976d0ac08340a41d.tar.gz
upstream-d3092630a806d18f9daa40ea976d0ac08340a41d.tar.bz2
upstream-d3092630a806d18f9daa40ea976d0ac08340a41d.zip
make etrax samsung flash patch generic (#6552)
SVN-Revision: 21408
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.33')
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/089-mtd-samsung-flash.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.33/089-mtd-samsung-flash.patch b/target/linux/generic-2.6/patches-2.6.33/089-mtd-samsung-flash.patch
new file mode 100644
index 0000000000..eab03db50d
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.33/089-mtd-samsung-flash.patch
@@ -0,0 +1,11 @@
+--- a/drivers/mtd/chips/cfi_cmdset_0002.c
++++ b/drivers/mtd/chips/cfi_cmdset_0002.c
+@@ -374,7 +374,7 @@ struct mtd_info *cfi_cmdset_0002(struct
+
+ cfi_fixup_major_minor(cfi, extp);
+
+- if (extp->MajorVersion != '1' ||
++ if (extp->MajorVersion < '0' || extp->MajorVersion > '3' ||
+ (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
+ if (cfi->mfr == MANUFACTURER_SAMSUNG &&
+ (extp->MajorVersion == '3' && extp->MinorVersion == '3')) {