Skip to content
Snippets Groups Projects
Commit eedfb89e authored by Sekhar Nori's avatar Sekhar Nori Committed by Tom Rini
Browse files

fs: fat: add kbuild configuration support


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: default avatarSekhar Nori <nsekhar@ti.com>
[trini: add select FS_FAT for CMD_FAT and SPL_FAT_SUPPORT]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 46bac66b
No related branches found
No related tags found
No related merge requests found
...@@ -1166,6 +1166,7 @@ config CMD_EXT4_WRITE ...@@ -1166,6 +1166,7 @@ config CMD_EXT4_WRITE
config CMD_FAT config CMD_FAT
bool "FAT command support" bool "FAT command support"
select FS_FAT
help help
Support for the FAT fs Support for the FAT fs
......
...@@ -306,6 +306,7 @@ config SPL_EXT_SUPPORT ...@@ -306,6 +306,7 @@ config SPL_EXT_SUPPORT
config SPL_FAT_SUPPORT config SPL_FAT_SUPPORT
bool "Support FAT filesystems" bool "Support FAT filesystems"
depends on SPL depends on SPL
select FS_FAT
help help
Enable support for FAT and VFAT filesystems with SPL. This Enable support for FAT and VFAT filesystems with SPL. This
permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT
......
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment