spl: fat/fs: Add control to build FS EXT4 in SPL
CONFIG_SPL_FS_EXT4 can be used to include/exclude the FS EXT4 from SPL build. Excluding the FS EXT4 from SPL build can help to save 20KiB memory. Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f4b4092474
commit
cafc429fa8
1 changed files with 2 additions and 1 deletions
3
fs/fs.c
3
fs/fs.c
|
@ -183,7 +183,8 @@ static struct fstype_info fstypes[] = {
|
|||
.closedir = fat_closedir,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_FS_EXT4
|
||||
|
||||
#if CONFIG_IS_ENABLED(FS_EXT4)
|
||||
{
|
||||
.fstype = FS_TYPE_EXT,
|
||||
.name = "ext4",
|
||||
|
|
Loading…
Reference in a new issue