From 45449980f80169214633f2649a27c791d0104e9d Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 9 Sep 2017 13:15:52 -0400 Subject: 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 Reviewed-by: Ɓukasz Majewski Reviewed-by: Simon Glass --- include/fat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/fat.h b/include/fat.h index 71879f01cac..b671ee8f81b 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); -- cgit v1.2.3