From d32b9e605f7d0c4f0e6b74f80dee8d383cd4ab1f Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Wed, 7 Jan 2009 12:35:09 +0000 Subject: [PATCH] Add SST49LF020 support. Signed-off-by: Sven Schnelle Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3850 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/flash.h | 1 + util/flashrom/flashchips.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 06156dcdc8..282a44d8c7 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -356,6 +356,7 @@ extern struct flashchip flashchips[]; #define SST_39VF040 0xD7 #define SST_49LF040B 0x50 #define SST_49LF040 0x51 +#define SST_49LF020 0x61 #define SST_49LF020A 0x52 #define SST_49LF080A 0x5B #define SST_49LF002A 0x57 diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index bc4a5c2f7a..83cde26b19 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -626,6 +626,12 @@ struct flashchip flashchips[] = { probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc }, + {"SST", "SST49LF020", SST_ID, SST_49LF020, + 256, 16 * 1024, + TEST_OK_PR, + probe_jedec, erase_49lf040, write_49lf040 + }, + {"SST", "SST49LF020A", SST_ID, SST_49LF020A, 256, 16 * 1024, TEST_UNTESTED,