summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlan Carvalho de Assis <acassis@gmail.com>2007-01-27 13:39:06 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-01-27 13:39:06 +0000
commit097d9a2d57fce2bd1bbe0d9c3628b75c1a25a934 (patch)
tree1457d9c055d95fea61da4648e5e44e365d07764a /util
parent8e4ee4f5045f752b2189fb47155e76db69e234f0 (diff)
downloadcoreboot-097d9a2d57fce2bd1bbe0d9c3628b75c1a25a934.tar.xz
Add support for the SST 49LF160C.
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/flashrom/README1
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/util/flashrom/README b/util/flashrom/README
index f2968343dd..3114ad02c5 100644
--- a/util/flashrom/README
+++ b/util/flashrom/README
@@ -110,6 +110,7 @@ SST SST-49LF040B
SST SST-49LF040
SST SST-49LF020A
SST SST-49LF080A
+SST SST-49LF160C
SST SST-49LF002A/B
SST SST-49LF003A/B
SST SST-49LF004A/B
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 6807f75402..f98bcb60db 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -59,6 +59,7 @@ extern struct flashchip flashchips[];
#define SST_49LF004C 0x54 /* SST 49LF004C device */
#define SST_49LF008C 0x59 /* SST 49LF008C device */
#define SST_49LF016C 0x5C /* SST 49LF016C device */
+#define SST_49LF160C 0x4C /* SST 49LF160C device */
#define PMC_ID 0x9D /* PMC Manufacturer ID code */
#define PMC_49FL002 0x6D /* PMC 49FL002 device code */
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 541da09fe2..8d9944bfc4 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -89,6 +89,8 @@ struct flashchip flashchips[] = {
probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc, NULL},
{"SST49LF016C", SST_ID, SST_49LF016C, NULL, 2048, 4 * 1024 ,
probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc, NULL},
+ {"SST49LF160C", SST_ID, SST_49LF160C, NULL, 2048, 4 * 1024 ,
+ probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc, NULL},
{"Pm49FL004", PMC_ID, PMC_49FL004, NULL, 512, 64 * 1024,
probe_jedec, erase_chip_jedec, write_49fl004,NULL},
{"W29C011", WINBOND_ID, W_29C011, NULL, 128, 128,