public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] some additional ST M29Fxxx 8bit JEDEC chips for 2.4.21
@ 2003-06-30 20:28 Guido Classen
  2003-06-30 21:00 ` Thayne Harbaugh
  0 siblings, 1 reply; 2+ messages in thread
From: Guido Classen @ 2003-06-30 20:28 UTC (permalink / raw)
  To: linux-mtd

Hallo,

I've add some 8bit chips from ST to the chip table in jedec_probe.c
from kernel 2.4.21. I've testet the M29F040B and it seems to work
pretty well with MTD and jffs2.

Guido


-----------------------------------------------------
--- drivers/mtd/chips/jedec_probe.c	2003-06-30 17:28:28.000000000 +0200
+++ drivers/mtd/chips/jedec_probe.c	2003-06-30 18:01:28.000000000 +0200
@@ -98,6 +98,12 @@
  #define M29W160DT	0x22C4
  #define M29W160DB	0x2249
  #define M29W040B	0x00E3
+/* 2003-06-06 gc:  */
+#define M29F010B        0x0020  /*  8 blocks a 16kByte */
+#define M29F040B        0x00e2  /*  8 blocks a 64kByte */
+#define M29F080D        0x00f1  /* 16 blocks a 64kByte */
+#define M29F016D        0x00ad  /* 32 blocks a 64kByte */
+#define M29F032D        0x00ac  /* 64 blocks a 64kByte */

  /* SST */
  #define SST29EE512	0x005d
@@ -649,6 +655,42 @@
  			  ERASEINFO(0x10000,31)
  		}
  	}, {
+ 		mfr_id: MANUFACTURER_ST,
+ 		dev_id: M29F010B,
+ 		name: "ST M29F010B",
+ 		DevSize: SIZE_128KiB,
+ 		NumEraseRegions: 1,
+ 		regions: {ERASEINFO(0x04000,8),
+ 		}
+ 	}, {
+ 		mfr_id: MANUFACTURER_ST,
+ 		dev_id: M29F040B,
+ 		name: "ST M29F040B",
+ 		DevSize: SIZE_512KiB,
+ 		NumEraseRegions: 1,
+ 		regions: {ERASEINFO(0x10000, 8) }
+ 	}, {
+ 		mfr_id: MANUFACTURER_ST,
+ 		dev_id: M29F080D,
+ 		name: "ST M29F080D",
+ 		DevSize: SIZE_1MiB,
+ 		NumEraseRegions: 1,
+ 		regions: {ERASEINFO(0x10000, 16) }
+ 	}, {
+ 		mfr_id: MANUFACTURER_ST,
+ 		dev_id: M29F016D,
+ 		name: "ST M29F016D",
+ 		DevSize: SIZE_2MiB,
+ 		NumEraseRegions: 1,
+ 		regions: {ERASEINFO(0x10000, 32) }
+ 	}, {
+ 		mfr_id: MANUFACTURER_ST,
+ 		dev_id: M29F032D,
+ 		name: "ST M29F032D",
+ 		DevSize: SIZE_4MiB,
+ 		NumEraseRegions: 1,
+ 		regions: {ERASEINFO(0x10000, 64) }
+	}, {
  		mfr_id: MANUFACTURER_ATMEL,
  		dev_id: AT49BV512,
  		name: "Atmel AT49BV512",

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

end of thread, other threads:[~2003-06-30 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-30 20:28 [PATCH] some additional ST M29Fxxx 8bit JEDEC chips for 2.4.21 Guido Classen
2003-06-30 21:00 ` Thayne Harbaugh

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