mtd/drivers/mtd/chips jedec_probe.c,1.22,1.23

ebiederman at lnxi.com ebiederman at lnxi.com
Tue Apr 8 09:26:08 EDT 2003


Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv14692/drivers/mtd/chips

Modified Files:
	jedec_probe.c 
Log Message:
- Add support for the winbond lpc flash w49v002a
- Add support for the amd8111


Index: jedec_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/jedec_probe.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- jedec_probe.c	18 Mar 2003 23:36:28 -0000	1.22
+++ jedec_probe.c	8 Apr 2003 13:26:05 -0000	1.23
@@ -30,6 +30,7 @@
 #define MANUFACTURER_ST		0x0020
 #define MANUFACTURER_SST	0x00BF
 #define MANUFACTURER_TOSHIBA	0x0098
+#define MANUFACTURER_WINBOND	0x00da
 
 
 /* AMD */
@@ -129,6 +130,9 @@
 #define TC58FVT641	0x0093
 #define TC58FVB641	0x0095
 
+/* Winbond */
+#define W49V002A	0x00b0
+
 
 /*
  * Unlock address sets for AMD command sets.
@@ -1050,6 +1054,19 @@
 		NumEraseRegions: 1,
 		regions:         {
 			ERASEINFO( 0x01000, 256 )
+		}
+	} , {
+		mfr_id: MANUFACTURER_WINBOND,
+		dev_id: W49V002A,
+		name: "Winbond W49V002A",
+		uaddr: MTD_UADDR_0x5555_0x2AAA,
+		DevSize: SIZE_256KiB,
+		CmdSet: P_ID_AMD_STD,
+		NumEraseRegions: 4,
+		regions: {ERASEINFO(0x10000, 3),
+			  ERASEINFO(0x08000, 1),
+			  ERASEINFO(0x02000, 2),
+			  ERASEINFO(0x04000, 1),
 		}
 	} 
 };




More information about the linux-mtd-cvs mailing list