summaryrefslogtreecommitdiffstats
path: root/dediprog.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-16 17:21:58 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-16 17:21:58 +0000
commita748bf0ce849b46c07773511fb92958ba9cd4a56 (patch)
tree3f19cce8c1554f1ca2d973af1352be604960280d /dediprog.c
parent820df8425b6ed329c51058b234dfca74459b8e8b (diff)
downloadflashrom-a748bf0ce849b46c07773511fb92958ba9cd4a56.zip
flashrom-a748bf0ce849b46c07773511fb92958ba9cd4a56.tar.gz
Read the to-be-verified area in one go
Verify_range() and check_erased_range() check each page separately. While that may have seemed like a good idea back when the code was introduced, it has no benefits for any of the chips where we support write because all of them handle cross-page reads nicely. The only class of chips where this change could be a problem is chips with non power of two sector sizes which have gaps in the address space. We simply require their read functions to provide gap-free results and leave it at that. Corresponding to flashrom svn r1233. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'dediprog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud