[PATCH] Add P3x support with CFI 1.5

Alexey Korolev akorolev at infradead.org
Fri Nov 23 04:31:56 EST 2007


Hi,
Thank you for attention.
> > This is the second post of the patch enabling support of P3x silicon
> > with CFI 1.5. As I know there are _many_ people currently using P3x
> > with CFI 1.5. The patch is trivial. It has been verified - it does not
> > affect other silicon. Could you please acknowledge and commit the
> > patch? 
> 
> Needs Signed-off-by: 
> 
> 
Opps. Fixed.

This patch enables P3x support with CFI 1.5 in Linux.

Signed-off-by: Alexey Korolev <akorolev at infradead.org>
diff -uNr a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
--- a/drivers/mtd/chips/cfi_cmdset_0001.c       2007-08-10 01:28:15.000000000 +0400
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c       2007-08-15 15:27:52.000000000 +0400
@@ -276,7 +276,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);

------
Thanks,
Alexey



More information about the linux-mtd mailing list