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

2018-11-22 Thread sjg
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 --- arch/sandbox/cpu/os.c | 44 +++

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

2018-11-06 Thread Simon Glass
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 --- arch/sandbox/cpu/os.c | 44 +++