Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at --- flashchips.c | 25 +++++++++++++++++++++++++ flashchips.h | 1 + 2 files changed, 26 insertions(+)
diff --git a/flashchips.c b/flashchips.c index 886e707..b83f32c 100644 --- a/flashchips.c +++ b/flashchips.c @@ -10984,6 +10984,31 @@ const struct flashchip flashchips[] = {
{ .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, diff --git a/flashchips.h b/flashchips.h index a876f25..67ce6b4 100644 --- a/flashchips.h +++ b/flashchips.h @@ -667,6 +667,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 */