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

svn at coreboot.org svn at coreboot.org
Fri Apr 24 00:51:56 CEST 2009


Author: stuge
Date: 2009-04-24 00:51:56 +0200 (Fri, 24 Apr 2009)
New Revision: 4200

Modified:
   trunk/util/flashrom/flash.h
   trunk/util/flashrom/flashchips.c
Log:
flashrom: Support MX25L3235D

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-23 22:22:47 UTC (rev 4199)
+++ trunk/util/flashrom/flash.h	2009-04-23 22:51:56 UTC (rev 4200)
@@ -285,7 +285,7 @@
 #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

Modified: trunk/util/flashrom/flashchips.c
===================================================================
--- trunk/util/flashrom/flashchips.c	2009-04-23 22:22:47 UTC (rev 4199)
+++ trunk/util/flashrom/flashchips.c	2009-04-23 22:51:56 UTC (rev 4200)
@@ -841,6 +841,20 @@
 
 	{
 		.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,





More information about the coreboot mailing list