mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
Add support for Macronix MX23L1654, MX23L6454 and MX23L12854 mask ROMs
Corresponding to flashrom svn r1846. Signed-off-by: Michael Coppola <michael.n.coppola@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
parent
823096e527
commit
583ea32911
48
flashchips.c
48
flashchips.c
@ -6320,6 +6320,22 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {2700, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Macronix",
|
||||
.name = "MX23L1654",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = MACRONIX_ID,
|
||||
.model_id = MACRONIX_MX23L1654,
|
||||
.total_size = 2048,
|
||||
.page_size = 256,
|
||||
.tested = {.probe = NT, .read = NT, .erase = NA, .write = NA},
|
||||
.probe = probe_spi_rdid,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.write = NULL, /* MX23L1654 is a mask ROM, so it is read-only */
|
||||
.read = spi_chip_read, /* Fast read (0x0B) supported */
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Macronix",
|
||||
.name = "MX23L3254",
|
||||
@ -6336,6 +6352,38 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Macronix",
|
||||
.name = "MX23L6454",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = MACRONIX_ID,
|
||||
.model_id = MACRONIX_MX23L6454,
|
||||
.total_size = 8192,
|
||||
.page_size = 256,
|
||||
.tested = {.probe = NT, .read = NT, .erase = NA, .write = NA},
|
||||
.probe = probe_spi_rdid,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.write = NULL, /* MX23L6454 is a mask ROM, so it is read-only */
|
||||
.read = spi_chip_read, /* Fast read (0x0B) supported */
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Macronix",
|
||||
.name = "MX23L12854",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = MACRONIX_ID,
|
||||
.model_id = MACRONIX_MX23L12854,
|
||||
.total_size = 16384,
|
||||
.page_size = 256,
|
||||
.tested = {.probe = NT, .read = NT, .erase = NA, .write = NA},
|
||||
.probe = probe_spi_rdid,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.write = NULL, /* MX23L12854 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)",
|
||||
|
@ -448,7 +448,10 @@
|
||||
|
||||
#define MACRONIX_ID 0xC2 /* Macronix (MX) */
|
||||
/* Mask ROMs */
|
||||
#define MACRONIX_MX23L1654 0x0515
|
||||
#define MACRONIX_MX23L3254 0x0516
|
||||
#define MACRONIX_MX23L6454 0x0517
|
||||
#define MACRONIX_MX23L12854 0x0518
|
||||
/* MX25 chips are SPI, first byte of device ID is memory type,
|
||||
* second byte of device ID is log(bitsize)-9.
|
||||
* Generalplus SPI chips seem to be compatible with Macronix
|
||||
|
Loading…
x
Reference in New Issue
Block a user