lkml.org 
[lkml]   [2007]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Linux 2.4.x MTD CFI P30/P33 support
Date
From
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 <alexey.korolev@intel.com>
==================================================
--- 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-17 00:49    [W:0.077 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site