diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-02-24 13:47:26 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-02-24 13:47:26 +0000 |
commit | 30a1175ec8a8e7fe0f773fed2396c440793afa67 (patch) | |
tree | 1876477864f3d86d0521b2733c2f472ca42e0560 /util | |
parent | 108dd2c01eb5a01605862b3c105f0aad75842795 (diff) | |
download | coreboot-30a1175ec8a8e7fe0f773fed2396c440793afa67.tar.xz |
new flashchip support by Leon Woestenberg <leonw@mailcan.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r-- | util/flashrom/flash.h | 1 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 8a6f766b55..c487701a20 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/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/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index ba003bf19f..f718e7b140 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/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, |