aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp
diff options
context:
space:
mode:
authorPatrick Delaunay2021-12-07 10:05:59 +0100
committerPatrice Chotard2022-01-24 10:56:45 +0100
commit5c68904fe1890c00baaa455bcd336fa9c92ec243 (patch)
tree8db9e9e2c961d829584e52aa41e7079028b3c729 /arch/arm/mach-stm32mp
parentd5e8119baed0dda4bd38984c1a16a8409f9219af (diff)
stm32mp: correct the dependency for bootcount configs
Default value for CONFIG_SYS_BOOTCOUNT_SINGLEWORD and CONFIG_SYS_BOOTCOUNT_ADDR are only needed when CONFIG_BOOTCOUNT_GENERIC is used. This patch avoids to define these configs when an other bootcount backend is activated, for example for CONFIG_BOOTCOUNT_ENV. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r--arch/arm/mach-stm32mp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 1ed2aad63ec..811c0fc2611 100644
--- a/arch/arm/mach-stm32mp/Kconfig
+++ b/arch/arm/mach-stm32mp/Kconfig
@@ -195,7 +195,7 @@ config PRE_CON_BUF_SZ
config BOOTSTAGE_STASH_ADDR
default 0xC3000000
-if BOOTCOUNT_LIMIT
+if BOOTCOUNT_GENERIC
config SYS_BOOTCOUNT_SINGLEWORD
default y