diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-16 21:39:19 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-16 21:39:19 +0000 |
commit | f302af14d5fbdd9ad12f7b08c17a1c2cf25eaaab (patch) | |
tree | 464c74c283c1800bb426667b9e2f1277bd743fc5 /flashchips.c | |
parent | 2237dda98204032ae12004f41a99ef9286a28166 (diff) | |
download | flashrom-f302af14d5fbdd9ad12f7b08c17a1c2cf25eaaab.zip flashrom-f302af14d5fbdd9ad12f7b08c17a1c2cf25eaaab.tar.gz |
Add proper workaround for 3COM 3C90xB cards, which need special fixups (the 3C90xC ones don't)
This is tested on hardware. Also, add initial support for the Atmel AT29C010A
chip (which I inserted in a 3COM 3C90xB card for testing). It can be detected,
read works, erase works, but write will need some additional code (will post
in another patch later).
Corresponding to flashrom svn r520.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c index eb241a9..36307c1 100644 --- a/flashchips.c +++ b/flashchips.c @@ -376,6 +376,20 @@ struct flashchip flashchips[] = { { .vendor = "Atmel", + .name = "AT29C010A", + .manufacture_id = ATMEL_ID, + .model_id = AT_29C010A, + .total_size = 128, + .page_size = 128, + .tested = TEST_OK_PRE, + .probe = probe_jedec, + .erase = erase_chip_jedec, + .write = write_jedec, /* FIXME */ + .read = read_memmapped, + }, + + { + .vendor = "Atmel", .name = "AT29C020", .manufacture_id = ATMEL_ID, .model_id = AT_29C020, |