[coreboot] [v2] r4150 - trunk/util/flashrom

svn at coreboot.org svn at coreboot.org
Tue Apr 21 03:47:17 CEST 2009


Author: stuge
Date: 2009-04-21 03:47:16 +0200 (Tue, 21 Apr 2009)
New Revision: 4150

Modified:
   trunk/util/flashrom/flash.h
   trunk/util/flashrom/flashchips.c
Log:
flashrom: Support Macronix MX2512805D flash chip

Signed-off-by: Stephan Guilloux <stephan.guilloux at free.fr>
Acked-by: Peter Stuge <peter at stuge.se>


Modified: trunk/util/flashrom/flash.h
===================================================================
--- trunk/util/flashrom/flash.h	2009-04-21 01:46:07 UTC (rev 4149)
+++ trunk/util/flashrom/flash.h	2009-04-21 01:47:16 UTC (rev 4150)
@@ -283,6 +283,7 @@
 #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

Modified: trunk/util/flashrom/flashchips.c
===================================================================
--- trunk/util/flashrom/flashchips.c	2009-04-21 01:46:07 UTC (rev 4149)
+++ trunk/util/flashrom/flashchips.c	2009-04-21 01:47:16 UTC (rev 4150)
@@ -855,6 +855,20 @@
 
 	{
 		.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,





More information about the coreboot mailing list