From 9d3d93e700076f513572752e70138c5905cbd2e4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 24 Feb 2006 13:47:26 +0000 Subject: Add support for ST M29F040B Signed-off-by: Leon Woestenberg Corresponding to flashrom svn r41 and coreboot v2 svn r2182. --- flash.h | 1 + flashchips.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/flash.h b/flash.h index 8a6f766b..c487701a 100644 --- a/flash.h +++ b/flash.h @@ -58,6 +58,7 @@ extern struct flashchip flashchips[]; #define W_49F002U 0x0B /* Winbond w29c020c device code */ #define ST_ID 0x20 +#define ST_M29F040B 0xE2 #define ST_M29F400BT 0xD5 #define MSYSTEMS_ID 0x156f diff --git a/flashchips.c b/flashchips.c index ba003bf1..f718e7b1 100644 --- a/flashchips.c +++ b/flashchips.c @@ -74,6 +74,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_jedec, NULL}, {"W49F002U", WINBOND_ID, W_49F002U, NULL, 256, 128, probe_jedec, erase_chip_jedec, write_49f002, NULL}, + {"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024, + probe_29f040b, erase_29f040b, write_29f040b, NULL}, {"M29F400BT", ST_ID, ST_M29F400BT, NULL, 512, 64 * 1024, probe_m29f400bt, erase_m29f400bt, write_linuxbios_m29f400bt, NULL}, {"82802ab", 137, 173, NULL, 512, 64 * 1024, -- cgit v1.2.3