All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bootcount_ext: Add Ext4 build dependency
@ 2020-05-20  7:13 Frédéric Danis
  2020-06-03 16:25 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Danis @ 2020-05-20  7:13 UTC (permalink / raw)
  To: u-boot

This config option depends on EXT4 support.
If Ext4 write capability is not selected, it generate write error messages
and is unable to maintain boot counter.

Signed-off-by: Fr?d?ric Danis <frederic.danis@collabora.com>
---
 drivers/bootcount/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
index 0356f8ba18..c8e6fa7f89 100644
--- a/drivers/bootcount/Kconfig
+++ b/drivers/bootcount/Kconfig
@@ -27,6 +27,8 @@ config BOOTCOUNT_GENERIC
 
 config BOOTCOUNT_EXT
 	bool "Boot counter on EXT filesystem"
+	depends on FS_EXT4
+	select EXT4_WRITE
 	help
 	  Add support for maintaining boot count in a file on an EXT
 	  filesystem.
-- 
2.18.0

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

* [PATCH] bootcount_ext: Add Ext4 build dependency
  2020-05-20  7:13 [PATCH] bootcount_ext: Add Ext4 build dependency Frédéric Danis
@ 2020-06-03 16:25 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2020-06-03 16:25 UTC (permalink / raw)
  To: u-boot

On Wed, May 20, 2020 at 09:13:26AM +0200, Fr?d?ric Danis wrote:

> This config option depends on EXT4 support.
> If Ext4 write capability is not selected, it generate write error messages
> and is unable to maintain boot counter.
> 
> Signed-off-by: Fr?d?ric Danis <frederic.danis@collabora.com>

Applied to u-boot/master, thanks!

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

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

end of thread, other threads:[~2020-06-03 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20  7:13 [PATCH] bootcount_ext: Add Ext4 build dependency Frédéric Danis
2020-06-03 16:25 ` 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.