Author: hailfinger
Date: Mon Jun  7 16:10:55 2010
New Revision: 1036
URL: http://flashrom.org/trac/coreboot/changeset/1036

Log:
Support Atmel AT49F020 256kB parallel flash.

Signed-off-by: Andrew Morgan <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>

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

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c  Mon Jun  7 13:10:43 2010        (r1035)
+++ trunk/flashchips.c  Mon Jun  7 16:10:55 2010        (r1036)
@@ -1072,6 +1072,29 @@
 
        {
                .vendor         = "Atmel",
+               .name           = "AT49F020",
+               .bustype        = CHIP_BUSTYPE_PARALLEL,
+               .manufacture_id = ATMEL_ID,
+               .model_id       = AT_49F020,
+               .total_size     = 256,
+               .page_size      = 256,
+               .feature_bits   = FEATURE_EITHER_RESET,
+               .tested         = TEST_OK_PREW,
+               .probe          = probe_jedec,
+               .probe_timing   = TIMING_ZERO,  /* Datasheet has no timing info 
specified */
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = { {256 * 1024, 1} },
+                               .block_erase = erase_chip_block_jedec,
+                       }
+               },
+               .write          = write_jedec_1,
+               .read           = read_memmapped,
+       },
+
+       {
+               .vendor         = "Atmel",
                .name           = "AT49F002(N)",
                .bustype        = CHIP_BUSTYPE_PARALLEL,
                .manufacture_id = ATMEL_ID,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h  Mon Jun  7 13:10:43 2010        (r1035)
+++ trunk/flashchips.h  Mon Jun  7 16:10:55 2010        (r1036)
@@ -144,6 +144,7 @@
 #define AT_45DB642             /* No ID available */
 #define AT_45DB642D            0x2800
 #define AT_49BV512             0x03
+#define AT_49F020              0x0B
 #define AT_49F002N             0x07    /* for AT49F002(N)  */
 #define AT_49F002NT            0x08    /* for AT49F002(N)T */
 

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

Reply via email to