public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add AM29F040B Support
@ 2002-04-25 18:57 John Tyner
  2002-04-26  6:03 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: John Tyner @ 2002-04-25 18:57 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-kernel

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,




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

end of thread, other threads:[~2002-04-26  6:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-25 18:57 [PATCH] Add AM29F040B Support John Tyner
2002-04-26  6:03 ` David Woodhouse

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