Message ID | 20170602122405.18983-2-nsekhar@ti.com |
---|---|
State | New |
Headers | show |
Series | fs: fat: convert to kconfig + switch some TI platforms | expand |
On Fri, Jun 02, 2017 at 05:53:59PM +0530, Sekhar Nori wrote: > Add Kconfig symbols for various configurations > supported by FAT filesystem support code. > > CONFIG_SUPPORT_VFAT has been left out since its > force enabled in include/fat.h and probably > should get removed at some point. > > Signed-off-by: Sekhar Nori <nsekhar@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> -- Tom
On Fri, Jun 02, 2017 at 05:53:59PM +0530, Sekhar Nori wrote: > Add Kconfig symbols for various configurations > supported by FAT filesystem support code. > > CONFIG_SUPPORT_VFAT has been left out since its > force enabled in include/fat.h and probably > should get removed at some point. > > Signed-off-by: Sekhar Nori <nsekhar@ti.com> Applied to u-boot/master, thanks! -- Tom
diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig index e69de29bb2d1..e7978aae67d2 100644 --- a/fs/fat/Kconfig +++ b/fs/fat/Kconfig @@ -0,0 +1,24 @@ +config FS_FAT + bool "Enable FAT filesystem support" + help + This provides support for reading images from File Allocation Table + (FAT) filesystem. FAT filesystem is a legacy, lightweight filesystem. + It is useful mainly for its wide compatibility with various operating + systems. You can also enable CMD_FAT to get access to fat commands. + +config FAT_WRITE + bool "Enable FAT filesystem write support" + depends on FS_FAT + help + This provides support for creating and writing new files to an + existing FAT filesystem partition. + +config FS_FAT_MAX_CLUSTSIZE + int "Set maximum possible clusersize" + default 65536 + depends on FS_FAT + help + Set the maximum possible clustersize for the FAT filesytem. This + is the smallest amount of disk space that can be used to hold a + file. Unless you have an extremely tight memory memory constraints, + leave the default.
Add Kconfig symbols for various configurations supported by FAT filesystem support code. CONFIG_SUPPORT_VFAT has been left out since its force enabled in include/fat.h and probably should get removed at some point. Signed-off-by: Sekhar Nori <nsekhar@ti.com> --- Resend of https://patchwork.ozlabs.org/patch/769770/ with no changes. Now sending again along with a bigger series. fs/fat/Kconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)