diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-11-14 03:48:33 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-11-14 03:48:33 +0000 |
commit | 8a8a226add906fde7b6b90687241ebb20164f9db (patch) | |
tree | b3eb6f832a839bd9246c4773bd99f3b107381eb9 /flashchips.c | |
parent | 11c9e687b495de6e308a7968ff40333db35058b6 (diff) | |
download | flashrom-8a8a226add906fde7b6b90687241ebb20164f9db.tar.gz flashrom-8a8a226add906fde7b6b90687241ebb20164f9db.tar.bz2 flashrom-8a8a226add906fde7b6b90687241ebb20164f9db.zip |
Retry correct range in write_page_write_jedec()
The automatic retry in write_page_write_jedec didn't retry flashing the
correct range, essentially rendering the functionality useless.
This patch simplifies the code and fixes the bug.
Thanks to Luke Dashjr for testing.
Mark Winbond W29C040P as supported.
Corresponding to flashrom svn r757.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Luke Dashjr <luke_coreboot@dashjr.org>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flashchips.c b/flashchips.c index ac27c905..65eb7f0a 100644 --- a/flashchips.c +++ b/flashchips.c @@ -3060,7 +3060,7 @@ struct flashchip flashchips[] = { .model_id = W_29C040P, .total_size = 512, .page_size = 256, - .tested = TEST_UNTESTED, + .tested = TEST_OK_PREW, .probe = probe_jedec, .probe_timing = 10, .erase = erase_chip_jedec, |