[PATCH] Add AM29F040B Support

From: John Tyner (jtyner@cs.ucr.edu)
Date: Thu Apr 25 2002 - 13:57:38 EST


Below is a patch that adds support for the AMD AM29F040B flash chip.
Hopefully, pine doesn't destory it.

diff -urN linux_2_4_devel/drivers/mtd/chips/jedec_probe.c linux-new/drivers/mtd/chips/jedec_probe.c
--- linux_2_4_devel/drivers/mtd/chips/jedec_probe.c Wed Apr 24 10:49:08 2002
+++ linux-new/drivers/mtd/chips/jedec_probe.c Tue Apr 9 15:43:38 2002
@@ -34,6 +34,7 @@
 #define AM29LV800BT 0x22DA
 #define AM29LV160DT 0x22C4
 #define AM29LV160DB 0x2249
+#define AM29F040B 0x00A4

 /* Atmel */
 #define AT49BV16X4 0x00c0
@@ -183,6 +184,15 @@
                          ERASEINFO(0x08000,1),
                          ERASEINFO(0x02000,2),
                          ERASEINFO(0x04000,1)
+ }
+ }, {
+ mfr_id: MANUFACTURER_AMD,
+ dev_id: AM29F040B,
+ name: "AMD AM29F040B",
+ DevSize: 19,
+ NumEraseRegions: 1,
+ regions: {
+ ERASEINFO( 0x010000, 8 )
                }
        }, {
                mfr_id: MANUFACTURER_AMD,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:11 EST