summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTien Fong Chee <tien.fong.chee@intel.com>2019-01-23 14:20:04 +0800
committerTom Rini <trini@konsulko.com>2019-02-01 09:12:48 -0500
commitd8c3ea99826f652efa5e8843f7fb98dfd6f8d194 (patch)
treefd2bd53b220ed436d9e2641edc5ab9188759fd34 /common
parent0c3a9ed409a5efac27df762acb2af6271675b07d (diff)
spl: fat/fs: Add option to include/exclude FAT write build in SPL
Most of the time SPL only needs very simple FAT reading, so having CONFIG_IS_ENABLED(FAT_WRITE) to exclude it from SPL build would help to save 64KiB default max clustersize from memory. Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ab47c05c92..eac50ac7f7 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -404,6 +404,13 @@ config SPL_FS_FAT
filesystem from within SPL. Support for the underlying block
device (e.g. MMC or USB) must be enabled separately.
+config SPL_FAT_WRITE
+ bool "Support write for FAT filesystems"
+ help
+ Enable write support for FAT and VFAT filesystems with SPL.
+ Support for the underlying block device (e.g. MMC or USB) must be
+ enabled separately.
+
config SPL_FPGA_SUPPORT
bool "Support FPGAs"
help