summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorMichael Coppola <michael.n.coppola@gmail.com>2014-05-03 23:01:18 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-05-03 23:01:18 +0000
commit4e7f36ec30bbc428beace0c99e83708e45274287 (patch)
tree3d6d66452d111de88a0e691f639a313b77f73f9c /flashchips.c
parentc2eec2c92015785ead5a5bcba4ce3a42501084c8 (diff)
downloadast2050-flashrom-4e7f36ec30bbc428beace0c99e83708e45274287.zip
ast2050-flashrom-4e7f36ec30bbc428beace0c99e83708e45274287.tar.gz
Add support for Macronix MX23L3254 mask ROM
Corresponding to flashrom svn r1784. Signed-off-by: Michael Coppola <michael.n.coppola@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 8289788..683af3c 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -5909,6 +5909,22 @@ const struct flashchip flashchips[] = {
{
.vendor = "Macronix",
+ .name = "MX23L3254",
+ .bustype = BUS_SPI,
+ .manufacture_id = MACRONIX_ID,
+ .model_id = MACRONIX_MX23L3254,
+ .total_size = 4096,
+ .page_size = 256,
+ .tested = TEST_OK_PR | TEST_BAD_EW,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .write = NULL, /* MX23L3254 is a mask ROM, so it is read-only */
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {3000, 3600},
+ },
+
+ {
+ .vendor = "Macronix",
.name = "MX25L512(E)/MX25V512(C)",
.bustype = BUS_SPI,
.manufacture_id = MACRONIX_ID,
OpenPOWER on IntegriCloud