Author: hailfinger Date: 2009-07-23 03:44:38 +0200 (Thu, 23 Jul 2009) New Revision: 664
Modified: trunk/flashchips.c Log: 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@gmx.net Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/flashchips.c =================================================================== --- trunk/flashchips.c 2009-07-23 01:42:56 UTC (rev 663) +++ trunk/flashchips.c 2009-07-23 01:44:38 UTC (rev 664) @@ -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 */