fs/fat: implement opendir/readdir/closedir
authorRob Clark <robdclark@gmail.com>
Sat, 9 Sep 2017 17:15:56 +0000 (13:15 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 15 Sep 2017 13:03:12 +0000 (09:03 -0400)
commit1f40366b319eac7eb02f8894fff5c94fbdb47d30
tree077f2dfcf67ec68ec823c826e7b65fbbff5042dc
parent4bbcc965f995564870ca02606137e60e873e0a1f
fs/fat: implement opendir/readdir/closedir

Implement the readdir interface using the directory iterators.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Ɓukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fat/fat.c