summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Guilloux <stephan.guilloux@free.fr>2009-04-21 01:47:16 +0000
committerPeter Stuge <peter@stuge.se>2009-04-21 01:47:16 +0000
commit7bd658873c5b4066b4f247255cb7a98ba1750cd1 (patch)
treeeb1c755441cfe2b398ce5283740253741d685eb4
parentb9ceb65434731223ce01c1c741a7736c1d29cfc1 (diff)
downloadcoreboot-7bd658873c5b4066b4f247255cb7a98ba1750cd1.tar.xz
flashrom: Support Macronix MX2512805D flash chip
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@4150 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 38f3bcba99..93628dd8c6 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -283,6 +283,7 @@ extern struct flashchip flashchips[];
#define MX_25L1605 0x2015 /* MX25L1605{,A,D} */
#define MX_25L3205 0x2016 /* MX25L3205{,A} */
#define MX_25L6405 0x2017 /* MX25L3205{,D} */
+#define MX_25L12805 0x2018 /* MX25L12805 */
#define MX_25L1635D 0x2415
#define MX_25L3235D 0x2416
#define MX_29F002B 0x34
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 32230c3f0d..911457f228 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -855,6 +855,20 @@ struct flashchip flashchips[] = {
{
.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",
.name = "MX29F002B",
.manufacture_id = MX_ID,
.model_id = MX_29F002B,