aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-04-26 10:08:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-04-26 10:08:51 +0000
commit789d93ca458f2572a5819f7093362d6751c2c811 (patch)
tree59bd2c41d7d0286887b8f14aad949c2f1623084e
parent0d64017ecfa257fee3dcfb76aa6f3276017bc517 (diff)
downloadupstream-789d93ca458f2572a5819f7093362d6751c2c811.tar.gz
upstream-789d93ca458f2572a5819f7093362d6751c2c811.tar.bz2
upstream-789d93ca458f2572a5819f7093362d6751c2c811.zip
Intel P3x chips use CFI 1.5 -- treat them the same way as 1.4 ones
SVN-Revision: 10947
-rw-r--r--target/linux/generic-2.6/patches-2.6.24/950-mtd_cfi_intel_p33_compatbility.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.24/950-mtd_cfi_intel_p33_compatbility.patch b/target/linux/generic-2.6/patches-2.6.24/950-mtd_cfi_intel_p33_compatbility.patch
new file mode 100644
index 0000000000..4dddce50f3
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.24/950-mtd_cfi_intel_p33_compatbility.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.24.2/drivers/mtd/chips/cfi_cmdset_0001.c 2008-04-22 12:24:09.000000000 +0200
++++ linux-2.6.24.2-owrt/drivers/mtd/chips/cfi_cmdset_0001.c 2008-04-22 19:47:38.000000000 +0200
+@@ -277,7 +277,7 @@
+ return NULL;
+
+ if (extp->MajorVersion != '1' ||
+- (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
++ (extp->MinorVersion < '0' || extp->MinorVersion > '5')) {
+ printk(KERN_ERR " Unknown Intel/Sharp Extended Query "
+ "version %c.%c.\n", extp->MajorVersion,
+ extp->MinorVersion);