diff options
author | Simon Glass <sjg@chromium.org> | 2023-06-01 10:22:38 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-14 12:54:51 -0400 |
commit | de7b5a8a1ac0b711db683711b3ccd800e00c4c46 (patch) | |
tree | f5f12491c203eb5d1156936434293e3ecc9f9ef0 /lib/linux_string.c | |
parent | 5904d953a1183e191e9ec4ab15c31c6522f625ad (diff) |
fs: Create functions to load and allocate a file
This functionality current sits in bootstd, but it is more generally
useful. Add a function to load a file into memory, allocating it as
needed. Adjust bootstd to use this version.
Note: Tests are added in the subsequent patch which converts the 'cat'
command to use this function.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions