[PATCH] MTD: Add Macronix MX29F040 to JEDEC

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Aug 15 08:59:01 EDT 2006


Commit:     c4e6952ffd71b263a64d1a9d79812446130560a5
Parent:     46a1652c28fc4f4e9d46ea12b0c36b5b6b600f58
commit c4e6952ffd71b263a64d1a9d79812446130560a5
Author:     Takashi YOSHI <takasi-y at ops.dti.ne.jp>
AuthorDate: Mon Aug 14 19:48:30 2006 -0500
Commit:     Josh Boyer <jwboyer at gmail.com>
CommitDate: Mon Aug 14 19:48:30 2006 -0500

    [PATCH] MTD: Add Macronix MX29F040 to JEDEC
    
    Signed-off-by: Takashi YOSHII <takasi-y at ops.dti.ne.jp>
    Signed-off-by: Josh Boyer <jwboyer at gmail.com>
---
 drivers/mtd/chips/jedec_probe.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index 8f39d0a..1154dac 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -111,6 +111,7 @@ #define I82802AC	0x00ac
 #define MX29LV040C	0x004F
 #define MX29LV160T	0x22C4
 #define MX29LV160B	0x2249
+#define MX29F040	0x00A4
 #define MX29F016	0x00AD
 #define MX29F002T	0x00B0
 #define MX29F004T	0x0045
@@ -1172,6 +1173,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-cvs mailing list