summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-05-16 21:39:19 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-05-16 21:39:19 +0000
commit8403ccb49f98d1583736984c92d62735d9d466b5 (patch)
tree464c74c283c1800bb426667b9e2f1277bd743fc5 /flashchips.c
parent5820f42ef209cfa0d4070fa9be96c9c91123a93f (diff)
downloadflashrom-8403ccb49f98d1583736984c92d62735d9d466b5.tar.gz
flashrom-8403ccb49f98d1583736984c92d62735d9d466b5.tar.bz2
flashrom-8403ccb49f98d1583736984c92d62735d9d466b5.zip
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.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index eb241a902..36307c1a2 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,