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

sjg at google.com sjg at google.com
Thu Nov 22 20:20:45 UTC 2018


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 at 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!


More information about the U-Boot mailing list