From 75d1b24537477dd07f4202cb6d06cf07c30c6117 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 30 Jun 2006 20:07:50 +0000 Subject: [PATCH] add support for EFST F49B002UA (untested) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2336 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/flash.h | 3 +++ util/flashrom/flashchips.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 775676ad48..4c4c61f40f 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/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/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index fbaa49e8fb..d7ff5a7ae5 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/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,