• Stefan Tauner's avatar
    Fix verification operation · c4f44df5
    Stefan Tauner authored
    
    I broke this in r1702 where I enabled avoidance of the verification step if
    we did not modify anything in the erase/write step. The problem is that
    all_skipped is initialized to true and hence it would only ever verify if
    there have been changes noted in the erase/write step. This obviously
    breaks the verification operation (-v/--verify) because there we never
    enter the erase/write loop.
    
    The better alternative would be to enable (the implicit) verification
    in the write loop and not in cli_classic.c. This would require a bigger
    change due to the existance of dont_verify_it. Eventually this is the
    right thing to do but not so shortly before a release.
    
    Corresponding to flashrom svn r1707.
    Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
    c4f44df5
flashrom.c 55.5 KB