summaryrefslogtreecommitdiff
path: root/util/flashrom/flashchips.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai.lu@amd.com>2007-01-22 20:21:17 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-01-22 20:21:17 +0000
commit298f89850d009b2e7caf9739814f0aa16a143d13 (patch)
treecb5bada7507f3913f44149da8b863ae69217e9d8 /util/flashrom/flashchips.c
parent6a5bc46579719205967ba3acbeea765a6a4c2356 (diff)
Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016C in flashrom.
Also add suport for NVIDIA MCP55. Signed-off-by: Yinghai Lu <yinghai.lu@amd.com> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flashchips.c')
-rw-r--r--util/flashrom/flashchips.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index e2a9173320..541da09fe2 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -31,6 +31,7 @@
#endif
#include "am29f040b.h"
#include "sst28sf040.h"
+#include "sst49lfxxxc.h"
#include "w49f002u.h"
#include "sst39sf020.h"
#include "sst49lf040.h"
@@ -82,6 +83,12 @@ struct flashchip flashchips[] = {
probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub, NULL},
{"Pm49FL002", PMC_ID, PMC_49FL002, NULL, 256, 16 * 1024,
probe_jedec, erase_chip_jedec, write_49fl004,NULL},
+ {"SST49LF004C", SST_ID, SST_49LF004C, NULL, 512, 4 * 1024,
+ probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc,NULL},
+ {"SST49LF008C", SST_ID, SST_49LF008C, NULL, 1024, 4 * 1024 ,
+ probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc, NULL},
+ {"SST49LF016C", SST_ID, SST_49LF016C, 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,