summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2009-01-07 12:35:09 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-01-07 12:35:09 +0000
commitd32b9e605f7d0c4f0e6b74f80dee8d383cd4ab1f (patch)
treea2a7b1ebe155913f882385811962e1291322d972
parentf58691ffb69cec3dd92f63c600db1c3c168b1bcd (diff)
downloadcoreboot-d32b9e605f7d0c4f0e6b74f80dee8d383cd4ab1f.tar.xz
Add SST49LF020 support.
Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3850 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c6
2 files changed, 7 insertions, 0 deletions
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,