From: Tien Fong Chee Date: Wed, 23 Jan 2019 06:20:06 +0000 (+0800) Subject: spl: fat/fs: Add control to build FS EXT4 in SPL X-Git-Tag: v2019.04-rc1~10^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cafc429fa86eea9feaf75847041dc641a54413c7;p=oweals%2Fu-boot.git 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 Reviewed-by: Tom Rini --- diff --git a/fs/fs.c b/fs/fs.c index 1a6a64ea7f..c05e6c85ed 100644 --- a/fs/fs.c +++ b/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",