mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Support Macronix MX2512805D flash chip
Corresponding to flashrom svn r437 and coreboot v2 svn r4150. Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr> Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
72cf565663
commit
2f132feabe
1
flash.h
1
flash.h
@ -283,6 +283,7 @@ extern struct flashchip flashchips[];
|
|||||||
#define MX_25L1605 0x2015 /* MX25L1605{,A,D} */
|
#define MX_25L1605 0x2015 /* MX25L1605{,A,D} */
|
||||||
#define MX_25L3205 0x2016 /* MX25L3205{,A} */
|
#define MX_25L3205 0x2016 /* MX25L3205{,A} */
|
||||||
#define MX_25L6405 0x2017 /* MX25L3205{,D} */
|
#define MX_25L6405 0x2017 /* MX25L3205{,D} */
|
||||||
|
#define MX_25L12805 0x2018 /* MX25L12805 */
|
||||||
#define MX_25L1635D 0x2415
|
#define MX_25L1635D 0x2415
|
||||||
#define MX_25L3235D 0x2416
|
#define MX_25L3235D 0x2416
|
||||||
#define MX_29F002B 0x34
|
#define MX_29F002B 0x34
|
||||||
|
14
flashchips.c
14
flashchips.c
@ -853,6 +853,20 @@ struct flashchip flashchips[] = {
|
|||||||
.read = spi_chip_read,
|
.read = spi_chip_read,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Macronix",
|
||||||
|
.name = "MX25L12805",
|
||||||
|
.manufacture_id = MX_ID,
|
||||||
|
.model_id = MX_25L12805,
|
||||||
|
.total_size = 16384,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.erase = spi_chip_erase_60_c7,
|
||||||
|
.write = spi_chip_write,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
.vendor = "Macronix",
|
.vendor = "Macronix",
|
||||||
.name = "MX29F002B",
|
.name = "MX29F002B",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user