[coreboot] [PATCH] Add 28 flash chips of the MX29 series to the flashrom ID table
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Wed Dec 10 02:47:24 CET 2008
Add 28 flash chips of the MX29 series to the flashrom ID table and
support the MX29LV040C.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Attached and inline.
Index: flashrom-mx29/flash.h
===================================================================
--- flashrom-mx29/flash.h (Revision 3793)
+++ flashrom-mx29/flash.h (Arbeitskopie)
@@ -248,6 +248,34 @@
#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
Index: flashrom-mx29/flashchips.c
===================================================================
--- flashrom-mx29/flashchips.c (Revision 3793)
+++ flashrom-mx29/flashchips.c (Arbeitskopie)
@@ -92,6 +92,7 @@
{"Macronix", "MX25L6405", MX_ID, MX_25L6405, 8192, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_c7, spi_chip_write, spi_chip_read},
{"Macronix", "MX29F002B", MX_ID, MX_29F002B, 256, 64 * 1024, TEST_UNTESTED, probe_29f002, erase_29f002, write_29f002},
{"Macronix", "MX29F002T", MX_ID, MX_29F002T, 256, 64 * 1024, TEST_UNTESTED, probe_29f002, erase_29f002, write_29f002},
+ {"Macronix", "MX29LV040C", MX_ID, MX_29LV040C, 512, 64 * 1024, TEST_UNTESTED, probe_29f002, erase_29f002, write_29f002},
{"Numonyx", "M25PE10", ST_ID, 0x8011, 128, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_d8, spi_chip_write, spi_chip_read},
{"Numonyx", "M25PE20", ST_ID, 0x8012, 256, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_d8, spi_chip_write, spi_chip_read},
{"Numonyx", "M25PE40", ST_ID, 0x8013, 256, 256, TEST_UNTESTED, probe_spi_rdid, spi_chip_erase_d8, spi_chip_write, spi_chip_read},
--
http://www.hailfinger.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_mx29_manychips.diff
Type: text/x-patch
Size: 2525 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081210/d03fe5c9/attachment.diff>
More information about the coreboot
mailing list