aboutsummaryrefslogtreecommitdiffstats
path: root/include/flash.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-08-12 11:30:27 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-08-25 00:26:54 +0000
commit16744f9e96d0f1e203d4a67ad2bfd0c50e3c437a (patch)
treec314ec3608c2a58ad1b273cc7f56b108ff471b31 /include/flash.h
parentb2b154802ba50fc218b54a40c9498476f368b950 (diff)
downloadflashrom-16744f9e96d0f1e203d4a67ad2bfd0c50e3c437a.tar.gz
flashrom-16744f9e96d0f1e203d4a67ad2bfd0c50e3c437a.tar.bz2
flashrom-16744f9e96d0f1e203d4a67ad2bfd0c50e3c437a.zip
flashrom.c: Move write_buf_to_include_args() to cli_classic.c
The write_buf_to_include_args() helper is only ever used by the cli frontend therefore make it static local to the user. BUG=b:242246291 TEST=builds Change-Id: Ia16bf4b8e46a011aa45f98089d43904b077833a0 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66648 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Evan Benn <evanbenn@google.com> Reviewed-by: Sam McNally <sammc@google.com> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/flash.h b/include/flash.h
index fe1005a4..a1b83dab 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -424,7 +424,6 @@ void list_programmers_linebreak(int startcol, int cols, int paren);
int selfcheck(void);
int read_buf_from_file(unsigned char *buf, unsigned long size, const char *filename);
int write_buf_to_file(const unsigned char *buf, unsigned long size, const char *filename);
-int write_buf_to_include_args(const struct flashrom_layout *const layout, unsigned char *buf);
int prepare_flash_access(struct flashctx *, bool read_it, bool write_it, bool erase_it, bool verify_it);
void finalize_flash_access(struct flashctx *);
int register_chip_restore(chip_restore_fn_cb_t func, struct flashctx *flash, uint8_t status);