Author: stuge Date: 2007-10-25 06:11:11 +0200 (Thu, 25 Oct 2007) New Revision: 2897
Modified: trunk/util/flashrom/flash.h trunk/util/flashrom/flashchips.c Log: 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 <[EMAIL PROTECTED]> Acked-by: Peter Stuge <[EMAIL PROTECTED]> Modified: trunk/util/flashrom/flash.h =================================================================== --- trunk/util/flashrom/flash.h 2007-10-24 20:17:04 UTC (rev 2896) +++ trunk/util/flashrom/flash.h 2007-10-25 04:11:11 UTC (rev 2897) @@ -63,6 +63,7 @@ #define AMD_ID 0x01 /* AMD */ #define AM_29F040B 0xA4 +#define AM_29LV040B 0x4F #define AM_29F016D 0xAD #define AMIC_ID 0x37 /* AMIC */ Modified: trunk/util/flashrom/flashchips.c =================================================================== --- trunk/util/flashrom/flashchips.c 2007-10-24 20:17:04 UTC (rev 2896) +++ trunk/util/flashrom/flashchips.c 2007-10-25 04:11:11 UTC (rev 2897) @@ -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, -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios