From 3c1aa889d867669ac98a204de7b7dbe2778f814a Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Fri, 12 Aug 2022 11:03:00 +1000 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/66645 Tested-by: build bot (Jenkins) Reviewed-by: Evan Benn Reviewed-by: Sam McNally Reviewed-by: Nico Huber Reviewed-by: Thomas Heijligen --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') 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', -- cgit v1.2.3