From b4061f61cdf951760020c6d4789023d4001b9782 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 26 Jun 2011 17:04:16 +0000 Subject: Move erase verification to generic code Erase functions are no longer called from chip drivers and thus their internal erase verification can be moved to generic code. This also makes it easier to skip the verify step if desired and to differentiate between failed command submission and failed erase verification. Corresponding to flashrom svn r1353. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Tauner --- flash.h | 1 - 1 file changed, 1 deletion(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index f8751025..16e57088 100644 --- a/flash.h +++ b/flash.h @@ -210,7 +210,6 @@ int min(int a, int b); int max(int a, int b); void tolower_string(char *str); char *extract_param(char **haystack, char *needle, char *delim); -int check_erased_range(struct flashchip *flash, int start, int len); int verify_range(struct flashchip *flash, uint8_t *cmpbuf, int start, int len, char *message); int need_erase(uint8_t *have, uint8_t *want, int len, enum write_granularity gran); char *strcat_realloc(char *dest, const char *src); -- cgit v1.2.3