From 47eff6b5b4e924627583f45f9b321119899a589c Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Sat, 14 Apr 2012 22:51:40 +0000 Subject: 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 Acked-by: Uwe Hermann --- flashchips.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to 'flashchips.c') diff --git a/flashchips.c b/flashchips.c index 4d77cf1..6d997be 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, -- cgit v1.1