Adds support for ST M29W512B. Tested and works for me.
Signed-off-by: Jeffrey A. Kent jakent@gmail.com --- Index: flashchips.c =================================================================== --- flashchips.c (revision 887) +++ flashchips.c (working copy) @@ -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", Index: flashchips.h =================================================================== --- flashchips.h (revision 887) +++ flashchips.h (working copy) @@ -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
On 1/31/10 5:14 PM, Jeff Kent wrote:
Adds support for ST M29W512B. Tested and works for me.
Signed-off-by: Jeffrey A. Kentjakent@gmail.com
Acked-by: Sean Nelson audiohacked@gmail.com
Thanks for the patch, committed in r888.