Author: snelson Date: Mon Feb 1 06:49:46 2010 New Revision: 888 URL: http://flashrom.org/trac/coreboot/changeset/888
Log: Adds support for ST M29W512B. Tested and works for me.
Signed-off-by: Jeffrey A. Kent jakent@gmail.com Acked-by: Sean Nelson audiohacked@gmail.com
Modified: trunk/flashchips.c trunk/flashchips.h
Modified: trunk/flashchips.c ============================================================================== --- trunk/flashchips.c Sun Jan 31 21:13:06 2010 (r887) +++ trunk/flashchips.c Mon Feb 1 06:49:46 2010 (r888) @@ -5050,6 +5050,30 @@ .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",
Modified: trunk/flashchips.h ============================================================================== --- trunk/flashchips.h Sun Jan 31 21:13:06 2010 (r887) +++ trunk/flashchips.h Mon Feb 1 06:49:46 2010 (r888) @@ -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