diff options
author | Jeffrey A. Kent <jakent@gmail.com> | 2010-02-01 05:49:46 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-02-01 05:49:46 +0000 |
commit | 8f5ad94088341b7ae74db0bb42ea3e604f582afd (patch) | |
tree | d93330ed73cce8d1d2eab65460d110fb821c4316 /flashchips.c | |
parent | 54feecf690f75ac8491594cb3fdf7eaf07ca78f9 (diff) | |
download | flashrom-8f5ad94088341b7ae74db0bb42ea3e604f582afd.zip flashrom-8f5ad94088341b7ae74db0bb42ea3e604f582afd.tar.gz |
Adds support for ST M29W512B
Tested and works for me.
Corresponding to flashrom svn r888.
Signed-off-by: Jeffrey A. Kent <jakent@gmail.com>
Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c index 53d053a..f66b95a 100644 --- a/flashchips.c +++ b/flashchips.c @@ -5050,6 +5050,30 @@ struct flashchip flashchips[] = { .read = read_memmapped, }, + { + .vendor = "ST", + .name = "M29W512B", + .bustype = CHIP_BUSTYPE_PARALLEL, + .manufacture_id = ST_ID, + .model_id = ST_M29W512B, + .total_size = 64, + .page_size = 64 * 1024, + .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, + .tested = TEST_OK_PREW, + .probe = probe_jedec, + .probe_timing = TIMING_ZERO, + .erase = NULL, + .block_erasers = + { + { + .eraseblocks = { {64 * 1024, 1} }, + .block_erase = erase_chip_block_jedec, + } + }, + .write = write_jedec_1, + .read = read_memmapped, + }, + { .vendor = "ST", .name = "M50FLW040A", |