[flashrom] [PATCH] Fix erase for SST49LF020A

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Jul 23 03:32:08 CEST 2009


Fix erase for SST49LF020A. The chip supports multiple erase functions,
but the function we use has an eraseblock size of 4k.

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

Index: flashrom-sst49lf020a/flashchips.c
===================================================================
--- flashrom-sst49lf020a/flashchips.c	(Revision 659)
+++ flashrom-sst49lf020a/flashchips.c	(Arbeitskopie)
@@ -2160,7 +2160,7 @@
 		.manufacture_id	= SST_ID,
 		.model_id	= SST_49LF020A,
 		.total_size	= 256,
-		.page_size	= 16 * 1024,
+		.page_size	= 4 * 1024,
 		.tested		= TEST_UNTESTED,
 		.probe		= probe_jedec,
 		.probe_timing	= 1,			/* 150 ns */ 


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





More information about the flashrom mailing list