diff options
author | Rob Clark <robdclark@gmail.com> | 2017-09-09 13:15:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-15 09:03:11 -0400 |
commit | 8eafae209c35932d9a6560809c55ee4641534236 (patch) | |
tree | 5dd5224aab463db77733278ea0f9cc8d9c9264f0 /include/fat.h | |
parent | c6e3baa565bc3b5828cf0d67ca6429dbe5f8687c (diff) | |
download | u-boot-8eafae209c35932d9a6560809c55ee4641534236.tar.gz |
fat/fs: convert to directory iterators
And drop a whole lot of ugly code!
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Ćukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fat.h')
-rw-r--r-- | include/fat.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/fat.h b/include/fat.h index 21bb6666cf..18d8981c48 100644 --- a/include/fat.h +++ b/include/fat.h @@ -58,12 +58,6 @@ */ #define LAST_LONG_ENTRY_MASK 0x40 -/* Flags telling whether we should read a file or list a directory */ -#define LS_NO 0 -#define LS_YES 1 -#define LS_DIR 1 -#define LS_ROOT 2 - #define ISDIRDELIM(c) ((c) == '/' || (c) == '\\') #define FSTYPE_NONE (-1) |