Author: mkarcher
Date: Sun Jun 20 00:06:35 2010
New Revision: 1050
URL: http://flashrom.org/trac/coreboot/changeset/1050

Log:
Add EMST F25L008A SPI chip

Signed-off-by: Michael Karcher <[email protected]>
Acked-by: Sean Nelson <[email protected]>

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

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c  Thu Jun 17 02:01:56 2010        (r1049)
+++ trunk/flashchips.c  Sun Jun 20 00:06:35 2010        (r1050)
@@ -1366,6 +1366,37 @@
        },
 
        {
+               .vendor         = "EMST",
+               .name           = "F25L008A",
+               .bustype        = CHIP_BUSTYPE_SPI,
+               .manufacture_id = EMST_ID,
+               .model_id       = EMST_F25L008A,
+               .total_size     = 1024,
+               .page_size      = 256,
+               .tested         = TEST_UNTESTED,
+               .probe          = probe_spi_rdid,
+               .probe_timing   = TIMING_ZERO,
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = { {4 * 1024, 256} },
+                               .block_erase = spi_block_erase_20,
+                       }, {
+                               .eraseblocks = { {64 * 1024, 16} },
+                               .block_erase = spi_block_erase_d8,
+                       }, {
+                               .eraseblocks = { {1024 * 1024, 1} },
+                               .block_erase = spi_block_erase_60,
+                       }, {
+                               .eraseblocks = { {1024 * 1024, 1} },
+                               .block_erase = spi_block_erase_c7,
+                       }
+               },
+               .write          = spi_aai_write,
+               .read           = read_memmapped,
+       },
+
+       {
                .vendor         = "Eon",
                .name           = "EN25B05",
                .bustype        = CHIP_BUSTYPE_SPI,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h  Thu Jun 17 02:01:56 2010        (r1049)
+++ trunk/flashchips.h  Sun Jun 20 00:06:35 2010        (r1050)
@@ -151,6 +151,7 @@
 #define CATALYST_ID            0x31    /* Catalyst */
 
 #define EMST_ID                        0x8C    /* EMST / EFST Elite Flash 
Storage */
+#define EMST_F25L008A          0x2014
 #define EMST_F49B002UA         0x00
 
 /*

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

Reply via email to