From 4f013087a7c5c5c90107e8a9355019bcab94e9b4 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 5 Sep 2022 11:09:28 +1000 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/68438 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- include/programmer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3