diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2014-12-07 21:57:53 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-12-07 21:57:53 +0000 |
commit | b5f9d5c40221e645fd3a5c2d7ece3e8df1330b04 (patch) | |
tree | dfae816c1624a5b4fa483ee07635eea507f94695 | |
parent | 33180dfb39603f6329a35264b85a4582059e394e (diff) | |
download | flashrom-b5f9d5c40221e645fd3a5c2d7ece3e8df1330b04.tar.gz flashrom-b5f9d5c40221e645fd3a5c2d7ece3e8df1330b04.tar.bz2 flashrom-b5f9d5c40221e645fd3a5c2d7ece3e8df1330b04.zip |
Add support for Eon EN29LV040 and EN29LV040A
Both use the same ID and are mostly identical.
Corresponding to flashrom svn r1857.
Tested-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
-rw-r--r-- | flashchips.c | 27 | ||||
-rw-r--r-- | flashchips.h | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/flashchips.c b/flashchips.c index 39fd6716f..173f42944 100644 --- a/flashchips.c +++ b/flashchips.c @@ -4863,6 +4863,33 @@ const struct flashchip flashchips[] = { { .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, diff --git a/flashchips.h b/flashchips.h index a850e4c2b..fe8fc5541 100644 --- a/flashchips.h +++ b/flashchips.h @@ -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 */ |