diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-12-10 10:32:05 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-12-10 10:32:05 +0000 |
commit | b3b280448243ad2250232e21d1d41e2cd67d878c (patch) | |
tree | 108b7094b0a775717ca5122de2bf3881c45ae098 | |
parent | 19ead962c4c0331de6bd9624843f8a80608bff60 (diff) | |
download | coreboot-b3b280448243ad2250232e21d1d41e2cd67d878c.tar.xz |
Add 28 flash chips of the MX29 series to the flashrom ID table and
support the MX29LV040C.
MX29LV040C probe and read support tested by khetzal on IRC.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3809 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/flashrom/flash.h | 28 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 6 |
2 files changed, 34 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index c74c96f3cb..7161a4e034 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -256,6 +256,34 @@ extern struct flashchip flashchips[]; #define MX_25L3235D 0x2416 #define MX_29F002B 0x34 #define MX_29F002T 0xB0 +#define MX_29LV002CB 0x5A +#define MX_29LV002CT 0x59 +#define MX_29LV004CB 0xB6 +#define MX_29LV004CT 0xB5 +#define MX_29LV008CB 0x37 +#define MX_29LV008CT 0x3E +#define MX_29F040C 0xA4 +#define MX_29F200CB 0x57 +#define MX_29F200CT 0x51 +#define MX_29F400CB 0xAB +#define MX_29F400CT 0x23 +#define MX_29LV040C 0x4F +#define MX_29LV128DB 0x7A +#define MX_29LV128DT 0x7E +#define MX_29LV160DB 0x49 /* Same as MX29LV161DB/MX29LV160CB */ +#define MX_29LV160DT 0xC4 /* Same as MX29LV161DT/MX29LV160CT */ +#define MX_29LV320DB 0xA8 /* Same as MX29LV321DB */ +#define MX_29LV320DT 0xA7 /* Same as MX29LV321DT */ +#define MX_29LV400CB 0xBA +#define MX_29LV400CT 0xB9 +#define MX_29LV800CB 0x5B +#define MX_29LV800CT 0xDA +#define MX_29LV640DB 0xCB /* Same as MX29LV640EB */ +#define MX_29LV640DT 0xC9 /* Same as MX29LV640ET */ +#define MX_29SL402CB 0xF1 +#define MX_29SL402CT 0x70 +#define MX_29SL800CB 0x6B /* Same as MX29SL802CB */ +#define MX_29SL800CT 0xEA /* Same as MX29SL802CT */ /* * Programmable Micro Corp is listed in JEP106W in bank 2, so it should diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index ada9ee07f8..bc4a5c2f7a 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -392,6 +392,12 @@ struct flashchip flashchips[] = { probe_29f002, erase_29f002, write_29f002 }, + {"Macronix", "MX29LV040C", MX_ID, MX_29LV040C, + 512, 64 * 1024, + TEST_OK_PR, + probe_29f002, erase_29f002, write_29f002 + }, + {"Numonyx", "M25PE10", ST_ID, 0x8011, 128, 256, TEST_UNTESTED, |