[flashrom] [commit] r1162 - trunk

repository service svn at flashrom.org
Mon Sep 13 21:59:30 CEST 2010


Author: uwe
Date: Mon Sep 13 21:59:28 2010
New Revision: 1162
URL: http://flashrom.org/trac/flashrom/changeset/1162

Log:
Add support for the Macronix MX251635E chip.

Signed-off-by: Stephan Guilloux <stephan.guilloux at free.fr>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

Modified:
   trunk/flashchips.c
   trunk/flashchips.h

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c	Mon Sep 13 21:39:25 2010	(r1161)
+++ trunk/flashchips.c	Mon Sep 13 21:59:28 2010	(r1162)
@@ -3623,6 +3623,39 @@
 
 	{
 		.vendor		= "Macronix",
+		.name		= "MX25L1635E",
+		.bustype	= CHIP_BUSTYPE_SPI,
+		.manufacture_id	= MX_ID,
+		.model_id	= MX_25L1635E,
+		.total_size	= 2048,
+		.page_size	= 256,
+		.feature_bits	= FEATURE_WRSR_WREN,
+		.tested		= TEST_UNTESTED,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.block_erasers	=
+		{
+			{
+				.eraseblocks = { {4 * 1024, 512} },
+				.block_erase = spi_block_erase_20,
+			}, {
+				.eraseblocks = { {64 * 1024, 32} },
+				.block_erase = spi_block_erase_d8,
+			}, {
+				.eraseblocks = { {2 * 1024 * 1024, 1} },
+				.block_erase = spi_block_erase_60,
+			}, {
+				.eraseblocks = { {2 * 1024 * 1024, 1} },
+				.block_erase = spi_block_erase_c7,
+			}
+		},
+		.unlock		= spi_disable_blockprotect,
+		.write		= spi_chip_write_256,
+		.read		= spi_chip_read,
+	},
+
+	{
+		.vendor		= "Macronix",
 		.name		= "MX25L3205",
 		.bustype	= CHIP_BUSTYPE_SPI,
 		.manufacture_id	= MX_ID,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h	Mon Sep 13 21:39:25 2010	(r1161)
+++ trunk/flashchips.h	Mon Sep 13 21:59:28 2010	(r1162)
@@ -316,6 +316,7 @@
 #define MX_25L6405		0x2017	/* MX25L3205{,D} */
 #define MX_25L12805		0x2018	/* MX25L12805 */
 #define MX_25L1635D		0x2415
+#define MX_25L1635E		0x2515	/* MX25L1635{E} */
 #define MX_25L3235D		0x5E16	/* MX25L3225D/MX25L3235D/MX25L3237D */
 #define MX_29F001B		0x19
 #define MX_29F001T		0x18




More information about the flashrom mailing list