Author: stefanct
Date: Sun Dec  7 22:57:53 2014
New Revision: 1857
URL: http://flashrom.org/trac/flashrom/changeset/1857

Log:
Add support for Eon EN29LV040 and EN29LV040A.

Both use the same ID and are mostly identical.

Tested-by: Denis 'GNUtoo' Carikli <[email protected]>
Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
Acked-by: Stefan Tauner <[email protected]>

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

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c  Fri Dec  5 23:56:13 2014        (r1856)
+++ trunk/flashchips.c  Sun Dec  7 22:57:53 2014        (r1857)
@@ -4863,6 +4863,33 @@
 
        {
                .vendor         = "Eon",
+               .name           = "EN29LV040(A)",
+               .bustype        = BUS_PARALLEL,
+               .manufacture_id = EON_ID,
+               .model_id       = EON_EN29LV040,
+               .total_size     = 512,
+               .page_size      = 4 * 1024,
+               .tested         = TEST_OK_PREW,
+               .probe          = probe_jedec,
+               .probe_timing   = TIMING_ZERO,
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = { {64 * 1024, 8} },
+                               .block_erase = erase_sector_jedec,
+                       },
+                       {
+                               .eraseblocks = { {512 * 1024, 1} },
+                               .block_erase = erase_chip_block_jedec,
+                       },
+               },
+               .write          = write_jedec_1,
+               .read           = read_memmapped,
+               .voltage        = {3000, 3600}, /* 3.0-3.6V for type -45R and 
55R, others 2.7-3.6V */
+       },
+
+       {
+               .vendor         = "Eon",
                .name           = "EN29LV640B",
                .bustype        = BUS_PARALLEL,
                .manufacture_id = EON_ID,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h  Fri Dec  5 23:56:13 2014        (r1856)
+++ trunk/flashchips.h  Sun Dec  7 22:57:53 2014        (r1857)
@@ -293,7 +293,7 @@
 #define EON_EN29F010           0x20
 #define EON_EN29F040A          0x7F04
 #define EON_EN29LV010          0x7F6E
-#define EON_EN29LV040A         0x7F4F  /* EN29LV040(A) */
+#define EON_EN29LV040          0x4F    /* Same as EN29LV040A */
 #define EON_EN29LV640B         0xCB
 #define EON_EN29F002T          0x7F92  /* Same as EN29F002A */
 #define EON_EN29F002B          0x7F97  /* Same as EN29F002AN */

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

Reply via email to