2002-04-25 18:57:44

by John Tyner

[permalink] [raw]
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,




2002-04-26 06:03:58

by David Woodhouse

[permalink] [raw]
Subject: Re: [PATCH] Add AM29F040B Support


[email protected] said:
> Below is a patch that adds support for the AMD AM29F040B flash chip.
> Hopefully, pine doesn't destory it.

That chip is already supported in the CVS code. The current plan is to wait
for 2.4.19 to be released, send the current code to Marcelo for
2.4.20-pre1, and then look at what broke in 2.5, fix it and send the
results to Linus.

--
dwmw2