path: root/dediprog.c
diff options
authorCarl-Daniel Hailfinger <>2010-11-16 17:21:58 +0000
committerCarl-Daniel Hailfinger <>2010-11-16 17:21:58 +0000
commitd836941f9ee5c207d59baf897153be0010ce361c (patch)
tree3f19cce8c1554f1ca2d973af1352be604960280d /dediprog.c
parent2bee8cf898007687c58ddb29eb119b461704f18a (diff)
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 <> Acked-by: Michael Karcher <>
Diffstat (limited to 'dediprog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud