From: tien.fong.chee at intel.com <tien.fong.chee@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] spl: fat/fs: Add control to build FS EXT4 in SPL
Date: Wed, 23 Jan 2019 14:20:06 +0800 [thread overview]
Message-ID: <1548224406-37649-4-git-send-email-tien.fong.chee@intel.com> (raw)
In-Reply-To: <1548224406-37649-1-git-send-email-tien.fong.chee@intel.com>
From: Tien Fong Chee <tien.fong.chee@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.chee@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
next prev parent reply other threads:[~2019-01-23 6:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-23 6:20 [U-Boot] [PATCH v2 1/4] spl: Kconfig: Replace CONFIG_SPL_FAT_SUPPORT with CONFIG_SPL_FS_FAT tien.fong.chee at intel.com
2019-01-23 6:20 ` [U-Boot] [PATCH v2 2/4] spl: fat/fs: Add option to include/exclude FAT write build in SPL tien.fong.chee at intel.com
2019-01-23 6:52 ` Simon Goldschmidt
2019-01-23 13:53 ` Tom Rini
2019-02-03 1:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
2019-01-23 6:20 ` [U-Boot] [PATCH v2 3/4] spl: Kconfig: Replace CONFIG_SPL_EXT_SUPPORT to CONFIG_SPL_FS_EXT4 tien.fong.chee at intel.com
2019-01-23 13:53 ` Tom Rini
2019-02-03 1:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
2019-01-23 6:20 ` tien.fong.chee at intel.com [this message]
2019-01-23 13:53 ` [U-Boot] [PATCH v2 4/4] spl: fat/fs: Add control to build FS EXT4 in SPL Tom Rini
2019-02-03 1:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
2019-01-23 6:51 ` [U-Boot] [PATCH v2 1/4] spl: Kconfig: Replace CONFIG_SPL_FAT_SUPPORT with CONFIG_SPL_FS_FAT Simon Goldschmidt
2019-01-23 13:53 ` Tom Rini
2019-02-03 1:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1548224406-37649-4-git-send-email-tien.fong.chee@intel.com \
--to=tien.fong.chee@intel.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox