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
commitda65432eb6d5b374c32a02e86e06b0938a977920 (patch)
treef2d67fcf616503776aa2921795335f9cb65cbc52 /flashchips.c
parent49b9cab3929b929ffa6a39fb23eef3b00bd22ae1 (diff)
downloadast2050-flashrom-da65432eb6d5b374c32a02e86e06b0938a977920.zip
ast2050-flashrom-da65432eb6d5b374c32a02e86e06b0938a977920.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