summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-08-08 23:52:33 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-08-08 23:52:33 +0000
commit9b32de94f5104cb7fa12816b7fa561b804df6ed8 (patch)
tree9501e463b76abf831d62bfd1a9a9ac2f8939476e /programmer.h
parenta8cf3620a42ca5927253822a813e3fbae1d6e7bf (diff)
downloadast2050-flashrom-9b32de94f5104cb7fa12816b7fa561b804df6ed8.zip
ast2050-flashrom-9b32de94f5104cb7fa12816b7fa561b804df6ed8.tar.gz
Refactor some CLI-relevant parts
Begin to move functions that clearly belong to the (command line) user interface out of flashrom's core files like flashrom.c. - Refine messages within check_chip_supported(), rename it to print_chip_support_status() and move it to newly created cli_common.c. - Move flashbuses_to_text() to cli_common.c as well. - Move global verbosity variables to cli_output.c. Corresponding to flashrom svn r1841. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/programmer.h b/programmer.h
index 3ad553a..62acfeb 100644
--- a/programmer.h
+++ b/programmer.h
@@ -513,7 +513,6 @@ struct decode_sizes {
extern struct decode_sizes max_rom_decode;
extern int programmer_may_write;
extern unsigned long flashbase;
-void check_chip_supported(const struct flashchip *chip);
int check_max_decode(enum chipbustype buses, uint32_t size);
char *extract_programmer_param(const char *param_name);
OpenPOWER on IntegriCloud