[MTD] [NOR] Support Intel P3x flash support with CFI version 1.5
authorAlexey Korolev <akorolev@infradead.org>
Fri, 23 Nov 2007 09:31:56 +0000 (09:31 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 23 Nov 2007 09:35:41 +0000 (09:35 +0000)
Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c

index da851c217fc3a5726c7f286241dbcafd7e122491..ed5ce41d1377bddb97cb21bfb22ac95e7d3cbcd6 100644 (file)
@@ -320,7 +320,7 @@ read_pri_intelext(struct map_info *map, __u16 adr)
                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);