summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2012-04-14 22:51:40 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2012-04-14 22:51:40 +0000
commit47eff6b5b4e924627583f45f9b321119899a589c (patch)
tree758809500d91966064fb5ba3cd4c598e9525db8e /flashchips.c
parent1525b2ad16e07f035b1de70fadd05a7018ea5756 (diff)
downloadflashrom-47eff6b5b4e924627583f45f9b321119899a589c.tar.gz
flashrom-47eff6b5b4e924627583f45f9b321119899a589c.tar.bz2
flashrom-47eff6b5b4e924627583f45f9b321119899a589c.zip
Add support for the Eon EN29LV640B chip
This chip needs special command sequences in 8 bit mode. Also, 8 bit programming needs actually 16bit double byte program. The chip is found on the Bifferos Bifferboard, for example. Corresponding to flashrom svn r1521. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c34
1 files changed, 32 insertions, 2 deletions
diff --git a/flashchips.c b/flashchips.c
index 4d77cf182..6d997be99 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3530,7 +3530,7 @@ const struct flashchip flashchips[] = {
.block_erasers =
{
{
- .eraseblocks = {
+ .eraseblocks = {
{16 * 1024, 1},
{8 * 1024, 2},
{32 * 1024, 1},
@@ -3562,7 +3562,7 @@ const struct flashchip flashchips[] = {
.block_erasers =
{
{
- .eraseblocks = {
+ .eraseblocks = {
{64 * 1024, 3},
{32 * 1024, 1},
{8 * 1024, 2},
@@ -3580,6 +3580,36 @@ const struct flashchip flashchips[] = {
},
{
+ .vendor = "Eon",
+ .name = "EN29LV640B",
+ .bustype = BUS_PARALLEL,
+ .manufacture_id = EON_ID,
+ .model_id = EON_EN29LV640B,
+ .total_size = 8192,
+ .page_size = 8192,
+ .feature_bits = 0,
+ .tested = TEST_OK_PREW,
+ .probe = probe_en29lv640b,
+ .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */
+ .block_erasers =
+ {
+ {
+ .eraseblocks = {
+ {8 * 1024, 8},
+ {64 * 1024, 127},
+ },
+ .block_erase = block_erase_en29lv640b,
+ }, {
+ .eraseblocks = { {8 * 1024 * 1024, 1} },
+ .block_erase = block_erase_chip_en29lv640b,
+ },
+ },
+ .write = write_en29lv640b,
+ .read = read_memmapped,
+ .voltage = {2700, 3600},
+ },
+
+ {
.vendor = "Fujitsu",
.name = "MBM29F004BC",
.bustype = BUS_PARALLEL,