public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Linux 2.4.x MTD CFI P30/P33 support
@ 2007-03-16 23:45 Korolev, Alexey
  2007-03-17  6:46 ` Willy Tarreau
  0 siblings, 1 reply; 7+ messages in thread
From: Korolev, Alexey @ 2007-03-16 23:45 UTC (permalink / raw)
  To: wtarreau, David Woodhouse; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-06-01 17:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 23:45 [PATCH] Linux 2.4.x MTD CFI P30/P33 support Korolev, Alexey
2007-03-17  6:46 ` Willy Tarreau
2007-03-19 17:36   ` akorolev
2007-04-10 17:45     ` akorolev
2007-04-10 20:12       ` Willy Tarreau
     [not found]   ` <45FEC94F.8090006@intel.com>
2007-06-01 14:20     ` [PATCH] SPI FLASH naming conflicts solving akorolev
2007-06-01 17:01       ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox