]> git.dujemihanovic.xyz Git - u-boot.git/commit
fat/fs: move ls to generic implementation
authorRob Clark <robdclark@gmail.com>
Sat, 9 Sep 2017 17:15:58 +0000 (13:15 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 15 Sep 2017 13:03:13 +0000 (09:03 -0400)
commit89191d626793490b579e1d36e7d7a4464a20f9f6
treed4e236f4727d390695f844a063619c5c418584dd
parent41fa83d1a6cdd8ddfb3fbe332252193ff8fb8b71
fat/fs: move ls to generic implementation

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 <robdclark@gmail.com>
Reviewed-by: Ɓukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fat/fat.c
fs/fs.c
include/fat.h