Author: stefanct Date: Thu Sep 12 10:29:00 2013 New Revision: 1737 URL: http://flashrom.org/trac/flashrom/changeset/1737
Log: Add support for ST M50LPW080.
Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at Acked-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at
Modified: trunk/flashchips.c trunk/flashchips.h
Modified: trunk/flashchips.c ============================================================================== --- trunk/flashchips.c Thu Sep 12 10:28:56 2013 (r1736) +++ trunk/flashchips.c Thu Sep 12 10:29:00 2013 (r1737) @@ -11240,6 +11240,31 @@
{ .vendor = "ST", + .name = "M50LPW080", + .bustype = BUS_LPC, /* A/A Mux */ + .manufacture_id = ST_ID, + .model_id = ST_M50LPW080, + .total_size = 1024, + .page_size = 0, + .feature_bits = FEATURE_REGISTERMAP, + .tested = TEST_UNTESTED, + .probe = probe_82802ab, + .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ + .block_erasers = + { + { + .eraseblocks = { {64 * 1024, 16}, }, + .block_erase = erase_block_82802ab, + } + }, + .unlock = unlock_stm50_uniform, + .write = write_82802ab, + .read = read_memmapped, + .voltage = {3000, 3600}, /* Also has 12V fast program & erase */ + }, + + { + .vendor = "ST", .name = "M50LPW116", .bustype = BUS_LPC, /* A/A Mux */ .manufacture_id = ST_ID,
Modified: trunk/flashchips.h ============================================================================== --- trunk/flashchips.h Thu Sep 12 10:28:56 2013 (r1736) +++ trunk/flashchips.h Thu Sep 12 10:29:00 2013 (r1737) @@ -668,6 +668,7 @@ #define ST_M50FW040 0x2C #define ST_M50FW080 0x2D #define ST_M50FW016 0x2E +#define ST_M50LPW080 0x2F #define ST_M50LPW116 0x30 #define ST_M29F002B 0x34 /* Same as M29F002BB */ #define ST_M29F002T 0xB0 /* Same as M29F002BT/M29F002NT/M29F002BNT */