diff options
author | Stephan Guilloux <stephan.guilloux@free.fr> | 2009-04-23 22:51:56 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-04-23 22:51:56 +0000 |
commit | 6a30a5f891885daafd548e3cb3ab16ea94b781d3 (patch) | |
tree | 2295d4d3e6f2b25757ab30de3aae16af83a20d21 /util/flashrom | |
parent | 424638e7bbd7b47118ed515f6fb32162dbd0c201 (diff) | |
download | coreboot-6a30a5f891885daafd548e3cb3ab16ea94b781d3.tar.xz |
flashrom: Support MX25L3235D
Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4200 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r-- | util/flashrom/flash.h | 2 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 93628dd8c6..4888428bc1 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -285,7 +285,7 @@ extern struct flashchip flashchips[]; #define MX_25L6405 0x2017 /* MX25L3205{,D} */ #define MX_25L12805 0x2018 /* MX25L12805 */ #define MX_25L1635D 0x2415 -#define MX_25L3235D 0x2416 +#define MX_25L3235D 0x5E16 /* MX25L3225D/MX25L3235D/MX25L3237D */ #define MX_29F002B 0x34 #define MX_29F002T 0xB0 #define MX_29LV002CB 0x5A diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index bc16b2e455..b9c87ad77a 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -841,6 +841,20 @@ struct flashchip flashchips[] = { { .vendor = "Macronix", + .name = "MX25L3235D", + .manufacture_id = MX_ID, + .model_id = MX_25L3235D, + .total_size = 4096, + .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", .name = "MX25L6405", .manufacture_id = MX_ID, .model_id = MX_25L6405, |