From 8e4e0ef0e9e1a69e8d16d09e2a9236d9695e7f75 Mon Sep 17 00:00:00 2001 From: kaloz Date: Sat, 26 Apr 2008 10:08:51 +0000 Subject: Intel P3x chips use CFI 1.5 -- treat them the same way as 1.4 ones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10947 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.24/950-mtd_cfi_intel_p33_compatbility.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.24/950-mtd_cfi_intel_p33_compatbility.patch 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 000000000..4dddce50f --- /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); -- cgit v1.2.3