[flashrom] [commit] r921 - trunk

repository service svn at flashrom.org
Fri Mar 5 09:44:11 CET 2010


Author: snelson
Date: Fri Mar  5 09:44:11 2010
New Revision: 921
URL: http://flashrom.org/trac/coreboot/changeset/921

Log:
Add support for Eon EN29F010.
Tested by Russ Dill.
Checked against datasheet by Sean Nelson.
Datasheet: http://www.essi.com.tw/upfile/p2008929171446.pdf

Signed-off-by: Russ Dill <Russ.Dill at gmail.com>
Acked-by: Sean Nelson <audiohacked at gmail.com>

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

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c	Wed Mar  3 17:15:12 2010	(r920)
+++ trunk/flashchips.c	Fri Mar  5 09:44:11 2010	(r921)
@@ -2095,6 +2095,33 @@
 	},
 
 	{
+		.vendor		= "Eon",
+		.name		= "EN29F010",
+		.bustype	= CHIP_BUSTYPE_PARALLEL,
+		.manufacture_id	= EON_ID,
+		.model_id	= EN_29F010,
+		.total_size	= 128,
+		.page_size	= 128,
+		.feature_bits	= FEATURE_ADDR_2AA | FEATURE_EITHER_RESET,
+		.tested		= TEST_OK_PREW,
+		.probe		= probe_jedec,
+		.probe_timing	= TIMING_ZERO,	/* Datasheet has no timing info specified */
+		.block_erasers	=
+		{
+			{
+				.eraseblocks = { {16 * 1024, 8} },
+				.block_erase = erase_sector_jedec,
+			},
+			{
+				.eraseblocks = { {128 * 1024, 1} },
+				.block_erase = erase_chip_block_jedec,
+			},
+		},
+		.write		= write_jedec_1,
+		.read		= read_memmapped,
+	},
+
+	{
 		.vendor		= "EON",
 		.name		= "EN29F002(A)(N)B",
 		.bustype	= CHIP_BUSTYPE_PARALLEL,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h	Wed Mar  3 17:15:12 2010	(r920)
+++ trunk/flashchips.h	Fri Mar  5 09:44:11 2010	(r921)
@@ -196,7 +196,7 @@
 #define EN_25F16		0x3115
 #define EN_25F32		0x3116
 #define EN_29F512		0x7F21
-#define EN_29F010		0x7F20
+#define EN_29F010		0x20
 #define EN_29F040A		0x7F04
 #define EN_29LV010		0x7F6E
 #define EN_29LV040A		0x7F4F	/* EN_29LV040(A) */




More information about the flashrom mailing list