Added 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).

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2897 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Peter Lemenkov 2007-10-25 04:11:11 +00:00 committed by Peter Stuge
parent cb00e7ab94
commit 5384dac57e
2 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,7 @@ extern struct flashchip flashchips[];
#define AMD_ID 0x01 /* AMD */ #define AMD_ID 0x01 /* AMD */
#define AM_29F040B 0xA4 #define AM_29F040B 0xA4
#define AM_29LV040B 0x4F
#define AM_29F016D 0xAD #define AM_29F016D 0xAD
#define AMIC_ID 0x37 /* AMIC */ #define AMIC_ID 0x37 /* AMIC */

View File

@ -28,6 +28,8 @@
struct flashchip flashchips[] = { struct flashchip flashchips[] = {
{"Am29F040B", AMD_ID, AM_29F040B, 512, 64 * 1024, {"Am29F040B", AMD_ID, AM_29F040B, 512, 64 * 1024,
probe_29f040b, erase_29f040b, write_29f040b}, 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, {"Am29F016D", AMD_ID, AM_29F016D, 2048, 64 * 1024,
probe_29f040b, erase_29f040b, write_29f040b}, probe_29f040b, erase_29f040b, write_29f040b},
{"AE49F2008", ASD_ID, ASD_AE49F2008, 256, 128, {"AE49F2008", ASD_ID, ASD_AE49F2008, 256, 128,