Hello Willy,

The following patch adds support of P30 and P33 NOR FLASH support in
Linux 2.4
This flash is substitution of J3 flash which is widely used it on Linux
2.4 kernels. Currently many customers wishing to substitute J3 for P3x
face issues on Linux 2.4. This patch resolves issues with P3x on all
generic Linux kernels versions since 2.4.21.

The patch just allows using minor version "4" in CFI driver. Since
differences between CFI minor version "3" and minor version "4" are
small the CFI driver is not affected by this. Patch has been verified on
Mainstone (PXA27x based) platform.

Signed-off-by: Alexey Korolev <[EMAIL PROTECTED]>
==================================================
--- a/drivers/mtd/chips/cfi_cmdset_0001.c       2003-06-13
18:51:34.000000000 +0400
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c       2007-02-16
21:39:50.000000000 +0300
@@ -152,7 +152,7 @@
                }
                
                if (extp->MajorVersion != '1' || 
-                   (extp->MinorVersion < '0' || extp->MinorVersion >
'3')) {
+                   (extp->MinorVersion < '0' || extp->MinorVersion >
'4')) {
                        printk(KERN_WARNING "  Unknown IntelExt Extended
Query "
                               "version %c.%c.\n",  extp->MajorVersion,
                               extp->MinorVersion);
===================================================

Thanks,
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to