[flashrom] [PATCH] Add support for Eon EN25F64.

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Mon May 14 04:08:07 CEST 2012


Its ID was spotted in an descriptor region update by Jetway:
http://paste.flashrom.org/view.php?id=1217

No datasheet was found, so most values are just guessed from the EN25F32.

Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>

---
what's our policy for such cases? i would guess that it will most probably just
work... but i did not dare to just commit it (like my EN25QH32 patch a few mins ago).
---
 flashchips.c |   34 ++++++++++++++++++++++++++++++++++
 flashchips.h |    1 +
 2 files changed, 35 insertions(+)

diff --git a/flashchips.c b/flashchips.c
index 4736713..64f14d0 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3319,6 +3319,40 @@ const struct flashchip flashchips[] = {
 
 	{
 		.vendor		= "Eon",
+		.name		= "EN25F64",
+		.bustype	= BUS_SPI,
+		.manufacture_id	= EON_ID_NOPREFIX,
+		.model_id	= EON_EN25F32,
+		.total_size	= 8192,
+		.page_size	= 256,
+		.feature_bits	= FEATURE_WRSR_WREN,
+		.tested		= TEST_UNTESTED,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.block_erasers	=
+		{
+			{
+				.eraseblocks = { {4 * 1024, 2048} },
+				.block_erase = spi_block_erase_20,
+			}, {
+				.eraseblocks = { {64 * 1024, 128} },
+				.block_erase = spi_block_erase_d8,
+			}, {
+				.eraseblocks = { {8 * 1024 * 1024, 1} },
+				.block_erase = spi_block_erase_60,
+			}, {
+				.eraseblocks = { {8 * 1024 * 1024, 1} },
+				.block_erase = spi_block_erase_c7,
+			}
+		},
+		.unlock		= spi_disable_blockprotect,
+		.write		= spi_chip_write_256,
+		.read		= spi_chip_read,
+		.voltage	= {2700, 3600},
+	},
+
+	{
+		.vendor		= "Eon",
 		.name		= "EN25Q40",
 		.bustype	= BUS_SPI,
 		.manufacture_id	= EON_ID_NOPREFIX,
diff --git a/flashchips.h b/flashchips.h
index 0ecb5f3..70d40df 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -245,6 +245,7 @@
 #define EON_EN25F80		0x3114
 #define EON_EN25F16		0x3115
 #define EON_EN25F32		0x3116
+#define EON_EN25F64		0x3117	/* guessed */
 #define EON_EN25Q40		0x3013
 #define EON_EN25Q80		0x3014
 #define EON_EN25Q16		0x3015	/* Same as EN25D16 */
-- 
Kind regards, Stefan Tauner





More information about the flashrom mailing list