From d8c3ea99826f652efa5e8843f7fb98dfd6f8d194 Mon Sep 17 00:00:00 2001 From: Tien Fong Chee Date: Wed, 23 Jan 2019 14:20:04 +0800 Subject: 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 Reviewed-by: Simon Goldschmidt Reviewed-by: Tom Rini --- common/spl/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/spl') diff --git a/common/spl/Kconfig b/common/spl/Kconfig index ab47c05..eac50ac 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 -- cgit v1.1