[flashrom] [PATCH] Add EMST E25L008A SPI chip

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Sat Jun 12 19:49:12 CEST 2010


Sorry for the late replay, somehow I forgot to send the patch for your
board.

Signed-off-by: Michael Karcher <flashrom at mkarcher.dialup.fu-berlin.de>
---
 flashchips.c |   31 +++++++++++++++++++++++++++++++
 flashchips.h |    1 +
 2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index a82c373..1293799 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -1366,6 +1366,37 @@ struct flashchip flashchips[] = {
 	},
 
 	{
+		.vendor		= "EMST",
+		.name		= "F25L008A",
+		.bustype	= CHIP_BUSTYPE_SPI,
+		.manufacture_id	= EMST_ID,
+		.model_id	= EMST_F25L008A,
+		.total_size	= 1024,
+		.page_size	= 256,
+		.tested		= TEST_UNTESTED,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.block_erasers	=
+		{
+			{
+				.eraseblocks = { {4 * 1024, 256} },
+				.block_erase = spi_block_erase_20,
+			}, {
+				.eraseblocks = { {64 * 1024, 16} },
+				.block_erase = spi_block_erase_d8,
+			}, {
+				.eraseblocks = { {1024 * 1024, 1} },
+				.block_erase = spi_block_erase_60,
+			}, {
+				.eraseblocks = { {1024 * 1024, 1} },
+				.block_erase = spi_block_erase_c7,
+			}
+		},
+		.write		= spi_aai_write,
+		.read		= read_memmapped,
+	},
+
+	{
 		.vendor		= "Eon",
 		.name		= "EN25B05",
 		.bustype	= CHIP_BUSTYPE_SPI,
diff --git a/flashchips.h b/flashchips.h
index 9b42235..1aac37f 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -151,6 +151,7 @@
 #define CATALYST_ID		0x31	/* Catalyst */
 
 #define EMST_ID			0x8C	/* EMST / EFST Elite Flash Storage */
+#define EMST_F25L008A		0x2014
 #define EMST_F49B002UA		0x00
 
 /*
-- 
1.7.1





More information about the flashrom mailing list