Re: [U-Boot] [PATCH v3 4/9] fs: add fs_readdir()

2017-09-12 Thread Simon Glass
On 9 September 2017 at 11:15, Rob Clark wrote: > 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 statef

[U-Boot] [PATCH v3 4/9] fs: add fs_readdir()

2017-09-10 Thread Rob Clark
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

[U-Boot] [PATCH v3 4/9] fs: add fs_readdir()

2017-09-09 Thread Rob Clark
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