[PATCH] Mcronix MX29F040 support.
takasi-y at ops.dti.ne.jp
takasi-y at ops.dti.ne.jp
Thu Aug 3 09:39:36 EDT 2006
Hi,
I've got new board which has MX29F040, Macroix's NOR Flash on it.
I'm now struggling to put kernel and userland into it.
Could you(who? Mr. dwmw2?) add this one, please?
/yoshii
Index: drivers/mtd/chips/jedec_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/jedec_probe.c,v
retrieving revision 1.68
diff -u -p -r1.68 jedec_probe.c
--- drivers/mtd/chips/jedec_probe.c 29 Mar 2006 08:42:49 -0000 1.68
+++ drivers/mtd/chips/jedec_probe.c 3 Aug 2006 13:31:52 -0000
@@ -112,6 +112,7 @@
#define MX29LV040C 0x004F
#define MX29LV160T 0x22C4
#define MX29LV160B 0x2249
+#define MX29F040 0x00A4
#define MX29F016 0x00AD
#define MX29F002T 0x00B0
#define MX29F004T 0x0045
@@ -1173,6 +1174,19 @@ static const struct amd_flash_info jedec
}
}, {
.mfr_id = MANUFACTURER_MACRONIX,
+ .dev_id = MX29F040,
+ .name = "Macronix MX29F040",
+ .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 = MX29F016,
.name = "Macronix MX29F016",
.uaddr = {
More information about the linux-mtd
mailing list