All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] i.MX8MQ-EVK with ext4 read support
@ 2018-12-19 16:15 Chris Spencer
  2018-12-20 13:29 ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Spencer @ 2018-12-19 16:15 UTC (permalink / raw)
  To: u-boot

Hi,

I'm trying to get started with the new i.MX8MQ-EVK support and I've
got a bit of an issue enabling ext4 read support without also enabling
write support.

CONFIG_FS_EXT4=y

I get a build error here:

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,
            ^~~~~~~~~~~~~~~

This line is wrapped with an ifdef check for CONFIG_CMD_EXT4_WRITE.
The write function is declared in include/ext4fs.h, where it is
wrapped with a check for CONFIG_EXT4_WRITE.

The problem is that include/configs/imx8mq_evk.h has this define:

#define CONFIG_CMD_EXT4_WRITE

This results in the 'write' code being enabled in fs.c but disabled in
ext4fs.h. The two ifdefs probably ought to be made consistent, but I
don't really understand why imx8mq_evk.h needs to define it in the
first place. Can anybody shed some light on this?

Thanks,

Chris

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

end of thread, other threads:[~2018-12-20 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19 16:15 [U-Boot] i.MX8MQ-EVK with ext4 read support Chris Spencer
2018-12-20 13:29 ` Fabio Estevam
2018-12-20 14:27   ` Chris Spencer

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.