summaryrefslogtreecommitdiff
path: root/include/fat.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-09-09 13:15:52 -0400
committerTom Rini <trini@konsulko.com>2017-09-15 09:03:09 -0400
commit45449980f80169214633f2649a27c791d0104e9d (patch)
tree67b6e46b841c916a4b45422e3b80ccb72ecc5953 /include/fat.h
parent1c7b5d0309c1da3952b1236d42c82c5ea8446476 (diff)
fs/fat: split out helper to init fsdata
Want to re-use this in fat dirent iterator in next patch. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fat.h b/include/fat.h
index 71879f01ca..b671ee8f81 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -174,6 +174,7 @@ typedef struct {
__u16 clust_size; /* Size of clusters in sectors */
int data_begin; /* The sector of the first cluster, can be negative */
int fatbufnum; /* Used by get_fatent, init to -1 */
+ int rootdir_size; /* Size of root dir for non-FAT32 */
} fsdata;
typedef int (file_detectfs_func)(void);