diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2006-11-21 23:51:08 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2006-11-21 23:51:08 +0000 |
commit | ef54abab332d706f835a79633f92849de2b15806 (patch) | |
tree | 70249541548b9b2020bb27881294907af06bab66 | |
parent | 018aca8dcc85d696ccd8c036d1d63dca78e761a2 (diff) | |
download | flashrom-ef54abab332d706f835a79633f92849de2b15806.tar.gz flashrom-ef54abab332d706f835a79633f92849de2b15806.tar.bz2 flashrom-ef54abab332d706f835a79633f92849de2b15806.zip |
Add support for ASD AE49F2008
Corresponding to flashrom svn r77 and coreboot v2 svn r2504.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
-rw-r--r-- | flash.h | 3 | ||||
-rw-r--r-- | flashchips.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,9 @@ extern struct flashchip flashchips[]; #define AM_29F040B 0xA4 #define AM_29F016D 0xAD +#define ASD_ID 0x25 +#define ASD_AE49F2008 0x52 + #define ATMEL_ID 0x1F /* Winbond Manufacture ID code */ #define AT_29C040A 0xA4 /* Winbond w29c020c device code */ diff --git a/flashchips.c b/flashchips.c index 50152091..e2a91733 100644 --- a/flashchips.c +++ b/flashchips.c @@ -44,6 +44,8 @@ struct flashchip flashchips[] = { probe_29f040b, erase_29f040b, write_29f040b, NULL}, {"Am29F016D", AMD_ID, AM_29F016D, NULL, 2048, 64 * 1024, probe_29f040b, erase_29f040b, write_29f040b, NULL}, + {"AE49F2008", ASD_ID, ASD_AE49F2008, NULL, 256, 128, + probe_jedec, erase_chip_jedec, write_jedec, NULL}, {"At29C040A", ATMEL_ID, AT_29C040A, NULL, 512, 256, probe_jedec, erase_chip_jedec, write_jedec, NULL}, {"Mx29f002", MX_ID, MX_29F002, NULL, 256, 64 * 1024, |