This patch adds support for ST M50FW040 and ST M29W040B to flashrom. Only reading from the chips was tested; writing support is untested.
Thanks to Gürkan Sengün gurkan@linuks.mine.nu for testing!
Signed-Off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Index: util/flashrom/flash.h =================================================================== --- util/flashrom/flash.h (Revision 2739) +++ util/flashrom/flash.h (Arbeitskopie) @@ -111,10 +111,12 @@ #define W_49V002FA 0x32
#define ST_ID 0x20 /* ST */ +#define ST_M50FW040 0x2C #define ST_M29F002B 0x34 #define ST_M29F002T 0xB0 /* M29F002T / M29F002NT */ #define ST_M29F400BT 0xD5 #define ST_M29F040B 0xE2 +#define ST_M29W040B 0xE3
#define EMST_ID 0x8c /* EMST / EFST */ #define EMST_F49B002UA 0x00 Index: util/flashrom/flashchips.c =================================================================== --- util/flashrom/flashchips.c (Revision 2739) +++ util/flashrom/flashchips.c (Arbeitskopie) @@ -114,6 +114,10 @@ probe_jedec, erase_chip_jedec, write_39sf020}, {"M29F002B", ST_ID, ST_M29F002B, 256, 64 * 1024, probe_jedec, erase_chip_jedec, write_jedec}, + {"M50FW040", ST_ID, ST_M50FW040, 512, 64 * 1024, + probe_jedec, erase_chip_jedec, write_jedec}, + {"M29W040B", ST_ID, ST_M29W040B, 512, 64 * 1024, + probe_jedec, erase_chip_jedec, write_jedec}, {"M29F002T/NT", ST_ID, ST_M29F002T, 256, 64 * 1024, probe_jedec, erase_chip_jedec, write_jedec}, {"M29F400BT", ST_ID, ST_M29F400BT, 512, 64 * 1024,
On Tue, Jul 24, 2007 at 06:07:05PM +0200, Carl-Daniel Hailfinger wrote:
This patch adds support for ST M50FW040 and ST M29W040B to flashrom. Only reading from the chips was tested; writing support is untested.
Thanks to Gürkan Sengün gurkan@linuks.mine.nu for testing!
Signed-Off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Great, thanks! r2740.
Uwe.