summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-09-09 13:15:54 -0400
committerTom Rini <[email protected]>2017-09-15 09:03:11 -0400
commit8eafae209c35932d9a6560809c55ee4641534236 (patch)
tree5dd5224aab463db77733278ea0f9cc8d9c9264f0 /include
parentc6e3baa565bc3b5828cf0d67ca6429dbe5f8687c (diff)
fat/fs: convert to directory iterators
And drop a whole lot of ugly code! Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Ɓukasz Majewski <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/fat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/fat.h b/include/fat.h
index 21bb6666cfa..18d8981c485 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)