]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bootcount_ext: Add Ext4 build dependency
authorFrédéric Danis <frederic.danis@collabora.com>
Wed, 20 May 2020 07:13:26 +0000 (09:13 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 2 Jun 2020 21:27:04 +0000 (17:27 -0400)
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

index 0356f8ba1815edfe01dba33ad2229019aea2adfd..c8e6fa7f892501b6b615e419310df92616684362 100644 (file)
@@ -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.