summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-04-07 17:48:53 +0200
committerNico Huber <nico.h@gmx.de>2022-04-13 11:45:56 +0000
commit50cd432c7462652ffb24441fea1a244264638539 (patch)
treeb36aa129ebc8599075962fcfe0b2c779c5b08182 /flash.h
parent48fef95b79920611ba284a946d5950b8afeeb38b (diff)
downloadflashrom-50cd432c7462652ffb24441fea1a244264638539.tar.gz
flashrom-50cd432c7462652ffb24441fea1a244264638539.tar.bz2
flashrom-50cd432c7462652ffb24441fea1a244264638539.zip
Drop STANDALONE mode
STANDALONE mode was used to build flashrom without having support for file handling. This was relevant to build libflashrom on top of libpayload. For a while now, the code which is covered by STANDALONE has moved to cli_*.c and is not used for libflashrom. Therefore we can drop STANDALONE mode. Change-Id: I58fb82270a9884a323d9850176708d230fdc5165 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/63469 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/flash.h b/flash.h
index f63aa5d36..b283c6cb2 100644
--- a/flash.h
+++ b/flash.h
@@ -442,11 +442,9 @@ void print_chip_support_status(const struct flashchip *chip);
/* cli_output.c */
extern enum flashrom_log_level verbose_screen;
extern enum flashrom_log_level verbose_logfile;
-#ifndef STANDALONE
int open_logfile(const char * const filename);
int close_logfile(void);
void start_logging(void);
-#endif
int flashrom_print_cb(enum flashrom_log_level level, const char *fmt, va_list ap);
/* Let gcc and clang check for correct printf-style format strings. */
int print(enum flashrom_log_level level, const char *fmt, ...)