[PATCH 2.6.10] mtd: added NEC uPD29F064115 support
From: Yoichi Yuasa
Date: Mon Dec 27 2004 - 18:51:56 EST
Hi,
This patch has added NEC uPD29F064115 support to jedec_probe.c.
Please apply this patch.
Yoichi
Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>
diff -urN -X dontdiff a-orig/drivers/mtd/chips/jedec_probe.c a/drivers/mtd/chips/jedec_probe.c
--- a-orig/drivers/mtd/chips/jedec_probe.c Sat Dec 25 06:35:40 2004
+++ a/drivers/mtd/chips/jedec_probe.c Tue Dec 28 00:56:41 2004
@@ -32,6 +32,7 @@
#define MANUFACTURER_HYUNDAI 0x00AD
#define MANUFACTURER_INTEL 0x0089
#define MANUFACTURER_MACRONIX 0x00C2
+#define MANUFACTURER_NEC 0x0010
#define MANUFACTURER_PMC 0x009D
#define MANUFACTURER_SST 0x00BF
#define MANUFACTURER_ST 0x0020
@@ -115,6 +116,9 @@
#define MX29F004T 0x0045
#define MX29F004B 0x0046
+/* NEC */
+#define UPD29F064115 0x221C
+
/* PMC */
#define PM49FL002 0x006D
#define PM49FL004 0x006E
@@ -1186,6 +1190,22 @@
ERASEINFO(0x08000,1),
ERASEINFO(0x02000,2),
ERASEINFO(0x04000,1)
+ }
+ }, {
+ .mfr_id = MANUFACTURER_NEC,
+ .dev_id = UPD29F064115,
+ .name = "NEC uPD29F064115",
+ .uaddr = {
+ [0] = MTD_UADDR_0x0555_0x02AA, /* x8 */
+ [1] = MTD_UADDR_0x0555_0x02AA, /* x16 */
+ },
+ .DevSize = SIZE_8MiB,
+ .CmdSet = P_ID_AMD_STD,
+ .NumEraseRegions= 3,
+ .regions = {
+ ERASEINFO(0x2000,8),
+ ERASEINFO(0x10000,126),
+ ERASEINFO(0x2000,8),
}
}, {
.mfr_id = MANUFACTURER_PMC,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/