aboutsummaryrefslogtreecommitdiffstats
path: root/include/programmer.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-09-05 11:09:28 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-10-31 05:17:45 +0000
commit4f013087a7c5c5c90107e8a9355019bcab94e9b4 (patch)
tree537b0e14e1eb7ca987b7501788267c7c9e0176fc /include/programmer.h
parent2e00f736714c3117354106c502a8c89b23896b2b (diff)
downloadflashrom-4f013087a7c5c5c90107e8a9355019bcab94e9b4.tar.gz
flashrom-4f013087a7c5c5c90107e8a9355019bcab94e9b4.tar.bz2
flashrom-4f013087a7c5c5c90107e8a9355019bcab94e9b4.zip
flashrom.c: Move count_max_decode_exceeding() to cli
The count_max_decode_exceeding() function is only ever called within the cli_classic logic so move it there and make it static. This further cleans up the flashrom.c symbol namespace. Change-Id: If050eab7db8560676c03d5005a2b391313a0d642 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68438 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'include/programmer.h')
-rw-r--r--include/programmer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/programmer.h b/include/programmer.h
index 96034439..386e6ecc 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -286,7 +286,6 @@ struct decode_sizes {
extern struct decode_sizes max_rom_decode;
extern bool programmer_may_write;
extern unsigned long flashbase;
-unsigned int count_max_decode_exceedings(const struct flashctx *flash);
char *extract_programmer_param_str(const struct programmer_cfg *cfg, const char *param_name);
/* spi.c */