summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-08-12 11:03:00 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-08-25 00:25:12 +0000
commit3c1aa889d867669ac98a204de7b7dbe2778f814a (patch)
tree3958b4fba4171fe72b2da19f3a955bda50e58892 /meson.build
parenteb1b1f6f7dc27bb978a8e4577c83b722f770af1e (diff)
downloadflashrom-3c1aa889d867669ac98a204de7b7dbe2778f814a.tar.gz
flashrom-3c1aa889d867669ac98a204de7b7dbe2778f814a.tar.bz2
flashrom-3c1aa889d867669ac98a204de7b7dbe2778f814a.zip
flashrom.c: Move read_buf_from_file() to helpers_fileio.c
Constructing a buffer from a read file is auxiliary functionality to the core flashrom algorithms. Move aside to decrease the overall complexity of flashrom.c BUG=b:242246291 TEST=builds Change-Id: Ia6e1eeb876722899defb5b75346d1f22c70bfbd1 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66645 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: Nico Huber <nico.h@gmx.de> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 065578e48..98283aa2d 100644
--- a/meson.build
+++ b/meson.build
@@ -91,6 +91,7 @@ srcs = files(
'flashrom.c',
'fmap.c',
'helpers.c',
+ 'helpers_fileio.c',
'ich_descriptors.c',
'jedec.c',
'layout.c',