[flashrom] [PATCH] Add Winbond W49F020 (Xbox) support

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Jul 16 12:55:31 CEST 2010


Hi Alec,

could you try this patch on your Xbox? If it works, please reply-to-all
with the output from
flashrom -V
and include a line saying "Acked-by: Your Name <your at email>".

Add Winbond W49F020 support. This chip is used on some Xbox versions.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Index: flashrom-w49f020/flashchips.c
===================================================================
--- flashrom-w49f020/flashchips.c	(Revision 1082)
+++ flashrom-w49f020/flashchips.c	(Arbeitskopie)
@@ -6474,6 +6474,29 @@
 
 	{
 		.vendor		= "Winbond",
+		.name		= "W49F020",
+		.bustype	= CHIP_BUSTYPE_PARALLEL,
+		.manufacture_id	= WINBOND_ID,
+		.model_id	= W_49F020,
+		.total_size	= 256,
+		.page_size	= 128,
+		.feature_bits	= FEATURE_EITHER_RESET,
+		.tested		= TEST_UNTESTED,
+		.probe		= probe_jedec,
+		.probe_timing	= 10,
+		.block_erasers	=
+		{
+			{
+				.eraseblocks = { {256 * 1024, 1} },
+				.block_erase = erase_chip_block_jedec,
+			}
+		},
+		.write		= write_jedec_1,
+		.read		= read_memmapped,
+	},
+
+	{
+		.vendor		= "Winbond",
 		.name		= "W49V002A",
 		.bustype	= CHIP_BUSTYPE_LPC,
 		.manufacture_id	= WINBOND_ID,


-- 
http://www.hailfinger.org/





More information about the flashrom mailing list