Commit ba7c9228 authored by Jeffrey A. Kent's avatar Jeffrey A. Kent Committed by Sean Nelson
Browse files

Adds support for ST M29W512B


Tested and works for me.

Corresponding to flashrom svn r888.
Signed-off-by: default avatarJeffrey A. Kent <jakent@gmail.com>
Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
parent 012b3a10
......@@ -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",
......
......@@ -473,6 +473,7 @@
#define ST_M29F800DT 0xEC
#define ST_M29W010B 0x23
#define ST_M29W040B 0xE3
#define ST_M29W512B 0x27
#define SYNCMOS_ID 0x40 /* SyncMOS and Mosel Vitelic */
#define S29C51001T 0x01
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment