mtd/drivers/mtd/chips jedec_probe.c,1.18,1.19

David Woodhouse dwmw2 at infradead.org
Tue Nov 12 08:12:12 EST 2002


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

Modified Files:
	jedec_probe.c 
Log Message:
From: "Holger Speck" <hospe at gmx.de>
Below some NumEraseRegions are set to correct values:


Index: jedec_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/jedec_probe.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- jedec_probe.c	18 Oct 2002 22:45:47 -0000	1.18
+++ jedec_probe.c	12 Nov 2002 13:12:10 -0000	1.19
@@ -43,6 +43,7 @@
 #define AM29F080	0x00D5
 #define AM29F040	0x00A4
 #define AM29LV040B	0x004F
+#define AM29F032B	0x0041
 
 /* Atmel */
 #define AT49BV512	0x0003
@@ -147,6 +148,15 @@
 static const struct amd_flash_info jedec_table[] = {
 	{
 		mfr_id: MANUFACTURER_AMD,
+		dev_id: AM29F032B,
+		name: "AMD AM29F032B",
+		DevSize: SIZE_4MiB,
+		CmdSet:	P_ID_AMD_STD,
+		NumEraseRegions: 1,
+		regions: {ERASEINFO(0x10000,64)
+		}
+	}, {
+		mfr_id: MANUFACTURER_AMD,
 		dev_id: AM29LV160DT,
 		name: "AMD AM29LV160DT",
 		DevSize: SIZE_2MiB,
@@ -199,7 +209,7 @@
 		name: "Toshiba TC58FVB321",
 		DevSize: SIZE_4MiB,
 		CmdSet:	P_ID_AMD_STD,
-		NumEraseRegions: 4,
+		NumEraseRegions: 2,
 		regions: {ERASEINFO(0x02000,8),
 			  ERASEINFO(0x10000,63)
 		}
@@ -209,7 +219,7 @@
 		name: "Toshiba TC58FVT321",
 		DevSize: SIZE_4MiB,
 		CmdSet:	P_ID_AMD_STD,
-		NumEraseRegions: 4,
+		NumEraseRegions: 2,
 		regions: {ERASEINFO(0x10000,63),
 			  ERASEINFO(0x02000,8)
 		}
@@ -219,7 +229,7 @@
 		name: "Toshiba TC58FVB641",
 		DevSize: SIZE_8MiB,
 		CmdSet:	P_ID_AMD_STD,
-		NumEraseRegions: 4,
+		NumEraseRegions: 2,
 		regions: {ERASEINFO(0x02000,8),
 			  ERASEINFO(0x10000,127)
 		}
@@ -229,7 +239,7 @@
 		name: "Toshiba TC58FVT641",
 		DevSize: SIZE_8MiB,
 		CmdSet:	P_ID_AMD_STD,
-		NumEraseRegions: 4,
+		NumEraseRegions: 2,
 		regions: {ERASEINFO(0x10000,127),
 			  ERASEINFO(0x02000,8)
 		}





More information about the linux-mtd-cvs mailing list