summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-06-30 20:07:50 +0000
committerStefan Reinauer <stepan@openbios.org>2006-06-30 20:07:50 +0000
commit75d1b24537477dd07f4202cb6d06cf07c30c6117 (patch)
treec31fd8742dbb6ca5144613e4b04c573a74b6e454
parent707097fc1ccf86373e38706adfdd0f648e89c51b (diff)
downloadcoreboot-75d1b24537477dd07f4202cb6d06cf07c30c6117.tar.xz
add support for EFST F49B002UA (untested)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2336 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/flashrom/flash.h3
-rw-r--r--util/flashrom/flashchips.c2
2 files changed, 5 insertions, 0 deletions
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,