From af2c2b5f2b8ed4536eeeba45492f40ef2d82926d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 30 Jun 2006 20:07:50 +0000 Subject: Add support for EFST F49B002UA (untested) Corresponding to flashrom svn r55 and coreboot v2 svn r2336. --- flash.h | 3 +++ flashchips.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/flash.h b/flash.h index 775676ad..4c4c61f4 100644 --- a/flash.h +++ b/flash.h @@ -66,6 +66,9 @@ extern struct flashchip flashchips[]; #define ST_M29F040B 0xE2 #define ST_M29F400BT 0xD5 +#define EMST_ID 0x8c /* EMST - Elite Flash Storage Inc. Manufacturer ID code */ +#define EMST_F49B002UA 0x00 /* EMST F49B002UA device code */ + #define MSYSTEMS_ID 0x156f #define MSYSTEMS_MD2200 0xdb /* ? */ #define MSYSTEMS_MD2800 0x30 /* hmm -- both 0x30 */ diff --git a/flashchips.c b/flashchips.c index fbaa49e8..d7ff5a7a 100644 --- a/flashchips.c +++ b/flashchips.c @@ -94,6 +94,8 @@ struct flashchip flashchips[] = { probe_82802ab, erase_82802ab, write_82802ab, NULL}, {"82802ac", 137, 172, NULL, 1024, 64 * 1024, probe_82802ab, erase_82802ab, write_82802ab, NULL}, + {"F49B002UA", EMST_ID, EMST_F49B002UA, NULL, 256, 4096, + probe_jedec, erase_chip_jedec, write_49f002, NULL}, #ifndef DISABLE_DOC {"MD-2802 (M-Systems DiskOnChip Millennium Module)", MSYSTEMS_ID, MSYSTEMS_MD2802, -- cgit v1.2.3