summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2021-07-14 15:06:04 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-07-16 02:10:07 +0000
commit4ebe65c73330b08fe6b8454af7810e022f94e26c (patch)
treeb0e248218fbadc88a50fa6638d7e6ccf9c50ac7d /flash.h
parent16661d82e3c17e224a21c109572b0834ec63a17c (diff)
downloadflashrom-4ebe65c73330b08fe6b8454af7810e022f94e26c.tar.gz
flashrom-4ebe65c73330b08fe6b8454af7810e022f94e26c.tar.bz2
flashrom-4ebe65c73330b08fe6b8454af7810e022f94e26c.zip
flashrom.c: Make extract_param() static local
The function is only ever used within flashrom.c. BUG=none BRANCH=none TEST=builds Change-Id: I81f1cdb9df98c151201390edeb69c74defe7881f Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/56295 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index c6a53b16f..3baa07655 100644
--- a/flash.h
+++ b/flash.h
@@ -344,7 +344,6 @@ int read_memmapped(struct flashctx *flash, uint8_t *buf, unsigned int start, uns
int erase_flash(struct flashctx *flash);
int probe_flash(struct registered_master *mst, int startchip, struct flashctx *fill_flash, int force);
int read_flash_to_file(struct flashctx *flash, const char *filename);
-char *extract_param(const char *const *haystack, const char *needle, const char *delim);
int verify_range(struct flashctx *flash, const uint8_t *cmpbuf, unsigned int start, unsigned int len);
int need_erase(const uint8_t *have, const uint8_t *want, unsigned int len, enum write_granularity gran, const uint8_t erased_value);
void print_version(void);