diff options
author | Rob Clark <robdclark@gmail.com> | 2017-09-09 13:15:52 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-15 09:03:09 -0400 |
commit | 45449980f80169214633f2649a27c791d0104e9d (patch) | |
tree | 67b6e46b841c916a4b45422e3b80ccb72ecc5953 /include/fat.h | |
parent | 1c7b5d0309c1da3952b1236d42c82c5ea8446476 (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.h | 1 |
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); |