Skip to contentSkip to conversation

bootcount_ext: Add Ext4 build dependency

PATCH New Frédéric Danis 2 participants 2 messages May 20, 2020 – Jun 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootcount_ext: Add Ext4 build dependency

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.

---
 drivers/bootcount/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/bootcount/Kconfig +2 -0
index 0356f8ba18..c8e6fa7f89 100644
@@ -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.
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 bootcount_ext: Add Ext4 build dependency

Quoted 5 lines · Fr?d?ric Danis

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
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>