Author: hailfinger
Date: 2009-05-26 23:26:23 +0200 (Tue, 26 May 2009)
New Revision: 550

Modified:
   trunk/flash.h
   trunk/flashchips.c
Log:
Add TI TMS29F002RT and TMS29F002RB probe and read support to flashrom.

Signed-off-by: Carl-Daniel Hailfinger <[email protected]>
Acked-by: Ronald G. Minnich <[email protected]>


Modified: trunk/flash.h
===================================================================
--- trunk/flash.h       2009-05-26 21:25:08 UTC (rev 549)
+++ trunk/flash.h       2009-05-26 21:26:23 UTC (rev 550)
@@ -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

Modified: trunk/flashchips.c
===================================================================
--- trunk/flashchips.c  2009-05-26 21:25:08 UTC (rev 549)
+++ trunk/flashchips.c  2009-05-26 21:26:23 UTC (rev 550)
@@ -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,


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to