diff options
author | Rob Clark <robdclark@gmail.com> | 2017-09-09 13:15:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-15 09:03:11 -0400 |
commit | 4bbcc965f995564870ca02606137e60e873e0a1f (patch) | |
tree | a9fb3e5b47d09bba0d1c4c565709231fd7906b24 /examples/standalone/mips.lds | |
parent | 8eafae209c35932d9a6560809c55ee4641534236 (diff) | |
download | u-boot-4bbcc965f995564870ca02606137e60e873e0a1f.tar.gz |
fs: add fs_readdir()
Needed to support efi file protocol. The fallback.efi loader wants
to be able to read the contents of the /EFI directory to find an OS
to boot.
Modelled after POSIX opendir()/readdir()/closedir(). Unlike the other
fs APIs, this is stateful (ie. state is held in the FS_DIR "directory
stream"), to avoid re-traversing of the directory structure at each
step. The directory stream must be released with closedir() when it
is no longer needed.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Ćukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'examples/standalone/mips.lds')
0 files changed, 0 insertions, 0 deletions