All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Move file system options to Kconfig
@ 2018-12-29 12:02 Fabio Estevam
  2019-01-14 15:56 ` Fabio Estevam
  2019-01-14 16:28 ` [U-Boot] [U-Boot, " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2018-12-29 12:02 UTC (permalink / raw)
  To: u-boot

Chris Spencer reports that when enabling ext4 read support without
also enabling write support the following error is seen:

fs/fs.c:198:12: error: 'ext4_write_file' undeclared here (not in a
function); did you mean 'ext4_read_file'?
   .write = ext4_write_file,
            ^~~~~~~~~~~~~~~
Fix this problem by moving these options to Kconfig.

Reported-by: Chris Spencer <spencercw@gmail.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Changes since v1:
- Added missing y to CONFIG_CMD_FAT
 configs/imx8mq_evk_defconfig | 5 +++++
 include/configs/imx8mq_evk.h | 6 ------
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig
index f216d46a8f..b473fcd61b 100644
--- a/configs/imx8mq_evk_defconfig
+++ b/configs/imx8mq_evk_defconfig
@@ -15,6 +15,11 @@ CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_HUSH_PARSER=y
+CONFIG_DOS_PARTITION=y
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_EXT4=y
+CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_FAT=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_CACHE=y
diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 35f81152f2..f0430224cb 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -226,12 +226,6 @@
 #define CONFIG_SYS_FSL_USDHC_NUM	2
 #define CONFIG_SYS_FSL_ESDHC_ADDR       0
 
-#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-
 #define CONFIG_SUPPORT_EMMC_BOOT	/* eMMC specific */
 #define CONFIG_SYS_MMC_IMG_LOAD_PART	1
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Move file system options to Kconfig
  2018-12-29 12:02 [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Move file system options to Kconfig Fabio Estevam
@ 2019-01-14 15:56 ` Fabio Estevam
  2019-01-14 16:28 ` [U-Boot] [U-Boot, " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-01-14 15:56 UTC (permalink / raw)
  To: u-boot

Hi Tom/Stefano,

On Sat, Dec 29, 2018 at 10:02 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Chris Spencer reports that when enabling ext4 read support without
> also enabling write support the following error is seen:
>
> fs/fs.c:198:12: error: 'ext4_write_file' undeclared here (not in a
> function); did you mean 'ext4_read_file'?
>    .write = ext4_write_file,
>             ^~~~~~~~~~~~~~~
> Fix this problem by moving these options to Kconfig.
>
> Reported-by: Chris Spencer <spencercw@gmail.com>
> Acked-by: Peng Fan <peng.fan@nxp.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Can we have this one applied on 2019.01?

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [U-Boot, v2] imx8mq_evk_defconfig: Move file system options to Kconfig
  2018-12-29 12:02 [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Move file system options to Kconfig Fabio Estevam
  2019-01-14 15:56 ` Fabio Estevam
@ 2019-01-14 16:28 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2019-01-14 16:28 UTC (permalink / raw)
  To: u-boot

On Sat, Dec 29, 2018 at 10:02:24AM -0200, Fabio Estevam wrote:

> Chris Spencer reports that when enabling ext4 read support without
> also enabling write support the following error is seen:
> 
> fs/fs.c:198:12: error: 'ext4_write_file' undeclared here (not in a
> function); did you mean 'ext4_read_file'?
>    .write = ext4_write_file,
>             ^~~~~~~~~~~~~~~
> Fix this problem by moving these options to Kconfig.
> 
> Reported-by: Chris Spencer <spencercw@gmail.com>
> Acked-by: Peng Fan <peng.fan@nxp.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190114/f6a1aaa2/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-14 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-29 12:02 [U-Boot] [PATCH v2] imx8mq_evk_defconfig: Move file system options to Kconfig Fabio Estevam
2019-01-14 15:56 ` Fabio Estevam
2019-01-14 16:28 ` [U-Boot] [U-Boot, " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.