Re: [U-Boot] [PATCH v2 4/8] fs: add fs_readdir()

2017-09-05 Thread Rob Clark
On Tue, Sep 5, 2017 at 4:56 AM, Simon Glass wrote: > Hi Rob, > > On 3 September 2017 at 23:16, Łukasz Majewski wrote: >> On 09/02/2017 06:37 PM, 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 t

Re: [U-Boot] [PATCH v2 4/8] fs: add fs_readdir()

2017-09-05 Thread Simon Glass
Hi Rob, On 3 September 2017 at 23:16, Łukasz Majewski wrote: > On 09/02/2017 06:37 PM, 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()

Re: [U-Boot] [PATCH v2 4/8] fs: add fs_readdir()

2017-09-03 Thread Łukasz Majewski
On 09/02/2017 06:37 PM, 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 stateful (ie. state is

[U-Boot] [PATCH v2 4/8] fs: add fs_readdir()

2017-09-02 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 v2 4/8] fs: add fs_readdir()

2017-08-14 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