public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] Support Macronix MX29LV040C
@ 2004-09-13 10:54 Pantelis Antoniou
  2004-09-13 17:27 ` Thayne Harbaugh
  0 siblings, 1 reply; 3+ messages in thread
From: Pantelis Antoniou @ 2004-09-13 10:54 UTC (permalink / raw)
  To: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 131 bytes --]

Hello

The following patch adds support for the Macronix MX29LV040C to
jedec_probe chip driver.

Please apply.

Regards

Pantelis


[-- Attachment #2: micronix.patch --]
[-- Type: text/x-patch, Size: 829 bytes --]

===== drivers/mtd/chips/jedec_probe.c 1.14 vs edited =====
--- 1.14/drivers/mtd/chips/jedec_probe.c	2004-08-25 12:01:59 +03:00
+++ edited/drivers/mtd/chips/jedec_probe.c	2004-09-13 13:48:28 +03:00
@@ -113,6 +113,7 @@
 #define MX29F002T	0x00B0
 #define MX29F004T	0x0045
 #define MX29F004B	0x0046
+#define MX29LV040C	0x004F
 
 /* PMC */
 #define PM49FL002	0x006D
@@ -502,6 +503,19 @@
 		.mfr_id		= MANUFACTURER_AMD,
 		.dev_id		= AM29LV040B,
 		.name		= "AMD AM29LV040B",
+		.uaddr		= {
+			[0] = MTD_UADDR_0x0555_0x02AA /* x8 */
+		},
+		.DevSize	= SIZE_512KiB,
+		.CmdSet		= P_ID_AMD_STD,
+		.NumEraseRegions= 1,
+		.regions	= {
+			ERASEINFO(0x10000,8),
+		}
+	}, {
+		.mfr_id		= MANUFACTURER_MACRONIX,
+		.dev_id		= MX29LV040C,
+		.name		= "Macronix MX29LV040C",
 		.uaddr		= {
 			[0] = MTD_UADDR_0x0555_0x02AA /* x8 */
 		},

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

end of thread, other threads:[~2004-09-14  6:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 10:54 [PATCH] Support Macronix MX29LV040C Pantelis Antoniou
2004-09-13 17:27 ` Thayne Harbaugh
2004-09-14  6:21   ` Pantelis Antoniou

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