[PATCH] MTD: Add Macronix MX29F040 to JEDEC
authorTakashi YOSHI <takasi-y@ops.dti.ne.jp>
Tue, 15 Aug 2006 00:48:30 +0000 (19:48 -0500)
committerJosh Boyer <jwboyer@gmail.com>
Tue, 15 Aug 2006 00:48:30 +0000 (19:48 -0500)
Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
drivers/mtd/chips/jedec_probe.c

index 8f39d0a3143839be7fe136da7588657b009cc36e..1154dac715aa62b6f89eea9337809ad14b38d7a5 100644 (file)
 #define MX29LV040C     0x004F
 #define MX29LV160T     0x22C4
 #define MX29LV160B     0x2249
+#define MX29F040       0x00A4
 #define MX29F016       0x00AD
 #define MX29F002T      0x00B0
 #define MX29F004T      0x0045
@@ -1171,6 +1172,19 @@ static const struct amd_flash_info jedec_table[] = {
                        ERASEINFO(0x10000,31)
                }
        }, {
+               .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",