aboutsummaryrefslogtreecommitdiffstats
path: root/nicrealtek.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
commitd836941f9ee5c207d59baf897153be0010ce361c (patch)
tree3f19cce8c1554f1ca2d973af1352be604960280d /nicrealtek.c
parent2bee8cf898007687c58ddb29eb119b461704f18a (diff)
downloadflashrom-d836941f9ee5c207d59baf897153be0010ce361c.tar.gz
flashrom-d836941f9ee5c207d59baf897153be0010ce361c.tar.bz2
flashrom-d836941f9ee5c207d59baf897153be0010ce361c.zip
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 'nicrealtek.c')
0 files changed, 0 insertions, 0 deletions