summaryrefslogtreecommitdiff
path: root/drivers/bootcount
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@collabora.com>2020-05-20 09:13:26 +0200
committerTom Rini <trini@konsulko.com>2020-06-02 17:27:04 -0400
commit4f6abf159a17a3923fa40d7fc7e46d09ad24c055 (patch)
tree8cb77bd123fc60e3305ecf9ae5174977fd68533c /drivers/bootcount
parentd67df1ee5fb295b74c09e643cabaaa2d89e8933c (diff)
downloadu-boot-4f6abf159a17a3923fa40d7fc7e46d09ad24c055.tar.gz
u-boot-4f6abf159a17a3923fa40d7fc7e46d09ad24c055.tar.bz2
u-boot-4f6abf159a17a3923fa40d7fc7e46d09ad24c055.zip
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. Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
Diffstat (limited to 'drivers/bootcount')
-rw-r--r--drivers/bootcount/Kconfig2
1 files changed, 2 insertions, 0 deletions
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.