summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-23 01:44:38 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-23 01:44:38 +0000
commitdb80e8c14f0935b6d212379fee90e2742f351380 (patch)
treef2d67fcf616503776aa2921795335f9cb65cbc52 /flashchips.c
parent74461299effbef0b86b554bd789efab3c54e117f (diff)
downloadflashrom-db80e8c14f0935b6d212379fee90e2742f351380.zip
flashrom-db80e8c14f0935b6d212379fee90e2742f351380.tar.gz
Fix erase for SST49LF020A
The chip supports multiple erase functions, but the function we use has an eraseblock size of 4k. Corresponding to flashrom svn r664. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashchips.c b/flashchips.c
index fa5fdff..e6b86a0 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2160,7 +2160,7 @@ struct flashchip flashchips[] = {
.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 */
OpenPOWER on IntegriCloud