lkml.org 
[lkml]   [2002]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Add AM29F040B Support
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.044 / U:9.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site