]> git.baikalelectronics.ru Git - uboot.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)
commit2f49d39b27c647d6901568d17fa8ef0060a2cd5d
treed4e236f4727d390695f844a063619c5c418584dd
parentc0b6c6fc0619ff0eb8a7af63ab2457bf1afb1b66
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