mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
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>
This commit is contained in:

committed by
Uwe Hermann

parent
1525b2ad16
commit
47eff6b5b4
34
flashchips.c
34
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},
|
||||
@ -3579,6 +3579,36 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {4500, 5500},
|
||||
},
|
||||
|
||||
{
|
||||
.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",
|
||||
|
Reference in New Issue
Block a user