Author: uwe
Date: Wed Sep 14 00:05:44 2011
New Revision: 1439
URL: http://flashrom.org/trac/flashrom/changeset/1439

Log:
Add probe/read support for the Catalyst CAT28F512 chip.

Write and erase are NOT yet supported!

Probe and read are tested by Andrew Morgan and Uwe Hermann on Intel NICs.

Signed-off-by: Andrew Morgan <[email protected]>
Acked-by: Uwe Hermann <[email protected]>

Modified:
   trunk/flashchips.c
   trunk/flashchips.h

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c  Tue Sep 13 00:55:01 2011        (r1438)
+++ trunk/flashchips.c  Wed Sep 14 00:05:44 2011        (r1439)
@@ -2341,6 +2341,30 @@
        },
 
        {
+               .vendor         = "Catalyst",
+               .name           = "CAT28F512",
+               .bustype        = BUS_PARALLEL,
+               .manufacture_id = CATALYST_ID,
+               .model_id       = CATALYST_CAT28F512,
+               .total_size     = 64,
+               .page_size      = 0, /* unused */
+               .feature_bits   = 0,
+               .tested         = TEST_OK_PR,
+               .probe          = probe_jedec, /* FIXME! */
+               .probe_timing   = TIMING_ZERO,
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = { {64 * 1024, 1} },
+                               .block_erase = NULL, /* TODO */
+                       },
+               },
+               .write          = NULL, /* TODO */
+               .read           = read_memmapped,
+               .voltage        = {4500, 5500},
+       },
+
+       {
                .vendor         = "Bright",
                .name           = "BM29F040",
                .bustype        = BUS_PARALLEL,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h  Tue Sep 13 00:55:01 2011        (r1438)
+++ trunk/flashchips.h  Wed Sep 14 00:05:44 2011        (r1439)
@@ -193,6 +193,7 @@
 #define BRIGHT_BM29F400T       0xAD
 
 #define CATALYST_ID            0x31    /* Catalyst */
+#define CATALYST_CAT28F512     0xB8
 
 #define EMST_ID                        0x8C    /* EMST / EFST Elite Flash 
Storage */
 #define EMST_F25L008A          0x2014

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to