patch-2.4.19 linux-2.4.19/drivers/mtd/chips/amd_flash.c
Next file: linux-2.4.19/drivers/mtd/chips/jedec.c
Previous file: linux-2.4.19/drivers/mtd/chips/Makefile
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/mtd/chips/amd_flash.c
- Orig date:
Thu Oct 4 15:14:59 2001
diff -urN linux-2.4.18/drivers/mtd/chips/amd_flash.c linux-2.4.19/drivers/mtd/chips/amd_flash.c
@@ -3,7 +3,7 @@
*
* Author: Jonas Holmberg <jonas.holmberg@axis.com>
*
- * $Id: amd_flash.c,v 1.15 2001/10/02 15:05:11 dwmw2 Exp $
+ * $Id: amd_flash.c,v 1.17 2002/03/05 17:00:37 jonashg Exp $
*
* Copyright (c) 2001 Axis Communications AB
*
@@ -52,6 +52,7 @@
/* Manufacturers */
#define MANUFACTURER_AMD 0x0001
+#define MANUFACTURER_ATMEL 0x001F
#define MANUFACTURER_FUJITSU 0x0004
#define MANUFACTURER_ST 0x0020
#define MANUFACTURER_SST 0x00BF
@@ -67,6 +68,9 @@
#define AM29BDS323D 0x22D1
#define AM29BDS643D 0x227E
+/* Atmel */
+#define AT49xV16x 0x00C0
+#define AT49xV16xT 0x00C2
/* Fujitsu */
#define MBM29LV160TE 0x22C4
@@ -613,6 +617,26 @@
{ offset: 0x600000, erasesize: 0x10000, numblocks: 31 },
{ offset: 0x7f0000, erasesize: 0x02000, numblocks: 8 },
}
+ }, {
+ mfr_id: MANUFACTURER_ATMEL,
+ dev_id: AT49xV16x,
+ name: "Atmel AT49xV16x",
+ size: 0x00200000,
+ numeraseregions: 2,
+ regions: {
+ { offset: 0x000000, erasesize: 0x02000, numblocks: 8 },
+ { offset: 0x010000, erasesize: 0x10000, numblocks: 31 }
+ }
+ }, {
+ mfr_id: MANUFACTURER_ATMEL,
+ dev_id: AT49xV16xT,
+ name: "Atmel AT49xV16xT",
+ size: 0x00200000,
+ numeraseregions: 2,
+ regions: {
+ { offset: 0x000000, erasesize: 0x10000, numblocks: 31 },
+ { offset: 0x1F0000, erasesize: 0x02000, numblocks: 8 }
+ }
}
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)