diff options
author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2011-04-15 00:03:37 +0000 |
---|---|---|
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2011-04-15 00:03:37 +0000 |
commit | 880e867ae823dbbd140731f2eaa2ea656b4b9153 (patch) | |
tree | 6f6ccde262a1878c3e3fe788e4923811a26628ef /print_wiki.c | |
parent | 4b177369854b0f1b0f5769b809f2cf1b0ea4f347 (diff) | |
download | flashrom-880e867ae823dbbd140731f2eaa2ea656b4b9153.tar.gz flashrom-880e867ae823dbbd140731f2eaa2ea656b4b9153.tar.bz2 flashrom-880e867ae823dbbd140731f2eaa2ea656b4b9153.zip |
Remove delays in JEDEC erase sequence
It is extremely unlikely that a chip not requiring delays in probe does
require them in erase. We observed unreliable erasing with a SST49LF004A
with these delays, so remove them if the are not required.
In review, I got the hint that "probe_jedec goes further by making that
call conditional on nonzero delay". I decided to ignore that. For
internal_delay, the small amount of clock cycles wasted for calling
programmer_delay(0) is negligible compared to LPC cycle times. It might
be an issue for 5 wasted bytes on the serial line in serprog. OTOH,
flash erase is still slow compared to 6*5 bytes on a serial port at
reasonable speed.
Corresponding to flashrom svn r1288.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'print_wiki.c')
0 files changed, 0 insertions, 0 deletions