Skip to contentSkip to conversation

Support Macronix MX29LV040C

PATCH Applied Pantelis Antoniou 2 participants 3 messages Sep 13, 2004 – Sep 14, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support Macronix MX29LV040C

Hello

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

Please apply.

Regards

Pantelis

===== drivers/mtd/chips/jedec_probe.c 1.14 vs edited =====

drivers/mtd/chips/jedec_probe.c +14 -0
@@ -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 */
 		},
#1 lore raw
Quoted 4 lines · Pantelis Antoniou

Hello

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

Thanks.

Applied.

I had to shuffle things with the patch because the device wasn't sorted correctly WRT the other devices in jedec_table[] 8(.

#2 lore raw
Quoted 8 lines · Thayne Harbaugh
Quoted 4 lines · Pantelis Antoniou

Hello

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

Quoted 10 lines

Thanks.

Applied.

I had to shuffle things with the patch because the device wasn't sorted correctly WRT the other devices in jedec_table[] 8(.

The table is sorted? :)

Regards

Pantelis