Author: hailfinger
Date: 2009-08-24 03:42:24 +0200 (Mon, 24 Aug 2009)
New Revision: 698
Modified:
trunk/flashchips.c
trunk/flashchips.h
Log:
Add support for MX29F001T and MX29F001B flash chips.
Signed-off-by: Mark Panajotovic <panajotovic.marko(a)gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006(a)gmx.net>
Modified: trunk/flashchips.c
===================================================================
--- trunk/flashchips.c 2009-08-24 01:34:48 UTC (rev 697)
+++ trunk/flashchips.c 2009-08-24 01:42:24 UTC (rev 698)
@@ -1396,6 +1396,38 @@
{
.vendor = "Macronix",
+ .name = "MX29F001B",
+ .bustype = CHIP_BUSTYPE_PARALLEL,
+ .manufacture_id = MX_ID,
+ .model_id = MX_29F001B,
+ .total_size = 128,
+ .page_size = 32 * 1024,
+ .tested = TEST_UNTESTED,
+ .probe = probe_29f002,
+ .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */
+ .erase = erase_29f002,
+ .write = write_29f002,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "Macronix",
+ .name = "MX29F001T",
+ .bustype = CHIP_BUSTYPE_PARALLEL,
+ .manufacture_id = MX_ID,
+ .model_id = MX_29F001T,
+ .total_size = 128,
+ .page_size = 32 * 1024,
+ .tested = TEST_OK_PREW,
+ .probe = probe_29f002,
+ .probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (mx29f002.c) */
+ .erase = erase_29f002,
+ .write = write_29f002,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "Macronix",
.name = "MX29F002B",
.bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = MX_ID,
Modified: trunk/flashchips.h
===================================================================
--- trunk/flashchips.h 2009-08-24 01:34:48 UTC (rev 697)
+++ trunk/flashchips.h 2009-08-24 01:42:24 UTC (rev 698)
@@ -262,6 +262,8 @@
#define MX_25L12805 0x2018 /* MX25L12805 */
#define MX_25L1635D 0x2415
#define MX_25L3235D 0x5E16 /* MX25L3225D/MX25L3235D/MX25L3237D */
+#define MX_29F001B 0x19
+#define MX_29F001T 0x18
#define MX_29F002B 0x34 /* Same as MX29F002NB */
#define MX_29F002T 0xB0 /* Same as MX29F002NT */
#define MX_29F004B 0x46