Skip to content
Commit de7b5a8a authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 5904d953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment