summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-01-23 15:15:19 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-01-23 15:15:19 +0000
commita4d5a323ccbc07d69e8cc858513a5a110308315a (patch)
treeb2c1536ad0dd6c69f036559d239533d20da34608 /flashchips.c
parentc15479ea9fca6c11dda188de7d111c519d75e1d7 (diff)
downloadflashrom-a4d5a323ccbc07d69e8cc858513a5a110308315a.zip
flashrom-a4d5a323ccbc07d69e8cc858513a5a110308315a.tar.gz
Add support for the SST39SF512 chip
All operations tested by me, works fine. Corresponding to flashrom svn r881. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 70954b8..03686e6 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3863,6 +3863,32 @@ struct flashchip flashchips[] = {
{
.vendor = "SST",
+ .name = "SST39SF512",
+ .bustype = CHIP_BUSTYPE_PARALLEL,
+ .manufacture_id = SST_ID,
+ .model_id = SST_39SF512,
+ .total_size = 64,
+ .page_size = 4096,
+ .tested = TEST_OK_PREW,
+ .probe = probe_jedec,
+ .probe_timing = 1, /* 150 ns */
+ .erase = NULL,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 16} },
+ .block_erase = erase_sector_jedec,
+ }, {
+ .eraseblocks = { {64 * 1024, 1} },
+ .block_erase = erase_chip_block_jedec,
+ }
+ },
+ .write = write_49f002,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "SST",
.name = "SST39SF010A",
.bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = SST_ID,
OpenPOWER on IntegriCloud