projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b4092
)
spl: fat/fs: Add control to build FS EXT4 in SPL
author
Tien Fong Chee
<tien.fong.chee@intel.com>
Wed, 23 Jan 2019 06:20:06 +0000
(14:20 +0800)
committer
Tom Rini
<trini@konsulko.com>
Fri, 1 Feb 2019 14:14:21 +0000
(09:14 -0500)
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>
fs/fs.c
patch
|
blob
|
history
diff --git
a/fs/fs.c
b/fs/fs.c
index 1a6a64ea7f97b1256773a9a880afeec990cfc541..c05e6c85eda6af26eb8c46b2449b28b4be67eba7 100644
(file)
--- 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",