[flashrom] [PATCH] Fix erase for SST49LF020A

Stefan Reinauer stepan at coresystems.de
Thu Jul 23 03:43:47 CEST 2009


Carl-Daniel Hailfinger wrote:
> 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>
>
>   
Ooops.

Acked-by: Stefan Reinauer <stepan at coresystems.de>

> 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 */ 
>
>
>   


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20090723/46c1822d/attachment.asc>


More information about the flashrom mailing list