diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-10-27 15:36:56 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-10-27 15:36:56 +0000 |
commit | 1b7c2554c9e5db15436622ef8a981e775fe2ffdd (patch) | |
tree | 0a53b1a2841c62239d491c2341f41d073e6d9cbb /flash.h | |
parent | 160e6980b7b9654f3032d7fca4d4c99eb48260a6 (diff) | |
download | flashrom-1b7c2554c9e5db15436622ef8a981e775fe2ffdd.zip flashrom-1b7c2554c9e5db15436622ef8a981e775fe2ffdd.tar.gz |
Do not read the flash chip twice in verification mode
Binary file (standard input) matches
Corresponding to flashrom svn r1619.
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ int min(int a, int b); int max(int a, int b); void tolower_string(char *str); char *extract_param(char **haystack, const char *needle, const char *delim); -int verify_range(struct flashctx *flash, uint8_t *cmpbuf, unsigned int start, unsigned int len, const char *message); +int verify_range(struct flashctx *flash, uint8_t *cmpbuf, unsigned int start, unsigned int len); int need_erase(uint8_t *have, uint8_t *want, unsigned int len, enum write_granularity gran); char *strcat_realloc(char *dest, const char *src); void print_version(void); |