Add TI TMS29F002RT and TMS29F002RB probe and read support
Corresponding to flashrom svn r550.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
diff --git a/flash.h b/flash.h
index 835c919..15b0636 100644
--- a/flash.h
+++ b/flash.h
@@ -525,6 +525,9 @@
#define S29C31004T 0x63
#define TI_ID 0x97 /* Texas Instruments */
+#define TI_OLD_ID 0x01 /* TI chips from last century */
+#define TI_TMS29F002RT 0xB0
+#define TI_TMS29F002RB 0x34
/*
* W25X chips are SPI, first byte of device ID is memory type, second
diff --git a/flashchips.c b/flashchips.c
index 618a091..aedddd9 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2055,6 +2055,34 @@
},
{
+ .vendor = "Texas Instruments",
+ .name = "TMS29F002RB",
+ .manufacture_id = TI_OLD_ID,
+ .model_id = TI_TMS29F002RB,
+ .total_size = 256,
+ .page_size = 16384, /* Non-uniform sectors */
+ .tested = TEST_UNTESTED,
+ .probe = probe_jedec,
+ .erase = NULL,
+ .write = NULL,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "Texas Instruments",
+ .name = "TMS29F002RT",
+ .manufacture_id = TI_OLD_ID,
+ .model_id = TI_TMS29F002RT,
+ .total_size = 256,
+ .page_size = 16384, /* Non-uniform sectors */
+ .tested = TEST_UNTESTED,
+ .probe = probe_jedec,
+ .erase = NULL,
+ .write = NULL,
+ .read = read_memmapped,
+ },
+
+ {
.vendor = "Winbond",
.name = "W25x10",
.manufacture_id = WINBOND_NEX_ID,