diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2007-10-25 04:11:11 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2007-10-25 04:11:11 +0000 |
commit | 220e26be9cb3026f054137a4d74a9734023646b2 (patch) | |
tree | 2968ce1defe26af2d5a619f741ab6843a655ea9e | |
parent | 539478d7fe0bd8e8c0ebfd409d9b9e1e0766f794 (diff) | |
download | ast2050-flashrom-220e26be9cb3026f054137a4d74a9734023646b2.zip ast2050-flashrom-220e26be9cb3026f054137a4d74a9734023646b2.tar.gz |
Add Am29LV040B
Looking through the sources of Uniflash utility I found that this chip
is no more no less than low-voltage variant of Am29F040B but with
different ID.
So I created a very quick patch (attached).
Corresponding to flashrom svn r157 and coreboot v2 svn r2897.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
-rw-r--r-- | flash.h | 1 | ||||
-rw-r--r-- | flashchips.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -63,6 +63,7 @@ extern struct flashchip flashchips[]; #define AMD_ID 0x01 /* AMD */ #define AM_29F040B 0xA4 +#define AM_29LV040B 0x4F #define AM_29F016D 0xAD #define AMIC_ID 0x37 /* AMIC */ diff --git a/flashchips.c b/flashchips.c index 6ed9a8c..3bebfb9 100644 --- a/flashchips.c +++ b/flashchips.c @@ -28,6 +28,8 @@ struct flashchip flashchips[] = { {"Am29F040B", AMD_ID, AM_29F040B, 512, 64 * 1024, probe_29f040b, erase_29f040b, write_29f040b}, + {"Am29LV040B", AMD_ID, AM_29LV040B, 512, 64 * 1024, + probe_29f040b, erase_29f040b, write_29f040b}, {"Am29F016D", AMD_ID, AM_29F016D, 2048, 64 * 1024, probe_29f040b, erase_29f040b, write_29f040b}, {"AE49F2008", ASD_ID, ASD_AE49F2008, 256, 128, |