From c24413879c42c24a534735ef71859ab1054a4716 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 9 Nov 2010 22:00:31 +0000 Subject: Support setting the Dediprog SF100 SPI voltage Add a generic voltage parameter parser. Move tolower_string() from dummyflasher.c to flashrom.c to make it available everywhere. Corresponding to flashrom svn r1226. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer --- flash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 6ac3c1cf..250482fc 100644 --- a/flash.h +++ b/flash.h @@ -197,6 +197,7 @@ struct flashchip *probe_flash(struct flashchip *first_flash, int force); int read_flash_to_file(struct flashchip *flash, char *filename); 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); -- cgit v1.2.3