From: Tien Fong Chee <tien.fong.c...@intel.com> 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.c...@intel.com> --- changes in v2: - Changed both config checking SPL_BUILD and FS_EXT4 to CONFIG_IS_ENABLED(FS_EXT4). --- fs/fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index 48b8e9a..21adbde 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", -- 2.2.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot