[U-Boot] [PATCH 08/25] sandbox: Add a function to read a host file

sjg at google.com
2018-11-22T20:20:45Z

Add a way to read a file from the host filesystem. This can be useful for
reading test data, for example. Also fix up the writing function which was
not the right version, and drop the debugging lines.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

arch/sandbox/cpu/os.c | 44 ++++++++++++++++++++++++++++++++++++++++---
include/os.h | 14 ++++++++++++++
2 files changed, 55 insertions(+), 3 deletions(-)

Applied to u-boot-dm/master, thanks!