summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-12 08:29:00 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-12 08:29:00 +0000
commit8c4602b8ab34564de9810e3be4b5913e16c55933 (patch)
tree367ecc5e38d1b4fc8f65af21aa1e599358ba8b12
parent4404f73bd9ba7b4014bcd7a38e533f67027aa854 (diff)
downloadast2050-flashrom-8c4602b8ab34564de9810e3be4b5913e16c55933.zip
ast2050-flashrom-8c4602b8ab34564de9810e3be4b5913e16c55933.tar.gz
Add support for ST M50LPW080
Corresponding to flashrom svn r1737. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
-rw-r--r--flashchips.c25
-rw-r--r--flashchips.h1
2 files changed, 26 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 396f026..dbf01bc 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -11240,6 +11240,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 429cd31..cbd3ded 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -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 */
OpenPOWER on IntegriCloud