On 3 September 2017 at 00:38, Rob Clark <robdcl...@gmail.com> wrote: > Add a generic implementation of 'ls' using opendir/readdir/closedir, and > replace fat's custom implementation. Other filesystems should move to > the generic implementation after they add opendir/readdir/closedir > support. > > Signed-off-by: Rob Clark <robdcl...@gmail.com> > --- > fs/fat/fat.c | 32 -------------------------------- > fs/fs.c | 35 +++++++++++++++++++++++++++++++++-- > include/fat.h | 5 ++++- > 3 files changed, 37 insertions(+), 35 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> So if all filesystems implement this interface then we could move this to function to the fs layer? _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot