[MTD] [NOR] Support Intel P3x flash support with CFI version 1.5

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 23 04:59:01 EST 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=b1c9c9be6da010510459aca93f5754efb19695ff
Commit:     b1c9c9be6da010510459aca93f5754efb19695ff
Parent:     92525726df0c30e080b0fce9b0eb699c622d261e
Author:     Alexey Korolev <akorolev at infradead.org>
AuthorDate: Fri Nov 23 09:31:56 2007 +0000
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri Nov 23 09:35:41 2007 +0000

    [MTD] [NOR] Support Intel P3x flash support with CFI version 1.5
    
    Signed-off-by: Alexey Korolev <akorolev at infradead.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/chips/cfi_cmdset_0001.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
index da851c2..ed5ce41 100644
--- a/drivers/mtd/chips/cfi_cmdset_0001.c
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c
@@ -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);



More information about the linux-mtd-cvs mailing list