flashrom.c: Resync file ops helper functions
This takes the upstream variants of the helper functions
read_buf_from_file() && write_buf_from_file(). This however
drops the ability to read and write to/from stdout and stdin
however this was never a good idea in the first place and afaik
there is no actual users.
BUG=b:166294558
BRANCH=none
TEST=builds
Change-Id: If598f6d9f750ebc762f74d471a39038862fc127f
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2440377
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
Auto-Submit: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
1 file changed