summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrejs Cainikovs <andrejs.cainikovs@toradex.com>2022-09-22 13:48:27 +0200
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-09-26 08:36:49 +0000
commit0206838324ac33a1dda5d269f31e65bc388fcc23 (patch)
treea25711373e6d5feb5c05fcca2e163c4e2f840d40
parenta9ee400cfe91abaa4bc458292010261408001f8a (diff)
configs: verdin-imx8mm: revert to old bootcount functionality
This change reverts to old bootcount functionality when bootcount is stored in non-volatile memory. When storing bootcount in volatile register in SoC, U-Boot does not check upgrade_available variable, which leads to a different behavior which we would like to avoid. Upstream-Status: Inappropriate [other] - Partial revert of submitted patch not merged yet [https://lore.kernel.org/all/20220822130604.843081-5-marcel@ziswiler.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
-rw-r--r--configs/verdin-imx8mm_defconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig
index b9d01d8d9f..69b12868fa 100644
--- a/configs/verdin-imx8mm_defconfig
+++ b/configs/verdin-imx8mm_defconfig
@@ -15,10 +15,7 @@ CONFIG_TARGET_VERDIN_IMX8MM=y
CONFIG_SPL_MMC=y
CONFIG_SPL_SERIAL=y
CONFIG_SPL_DRIVERS_MISC=y
-CONFIG_BOOTCOUNT_BOOTLIMIT=3
-CONFIG_SYS_BOOTCOUNT_ADDR=0x30370090
CONFIG_SPL=y
-CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
CONFIG_SYS_LOAD_ADDR=0x48200000
CONFIG_SYS_MEMTEST_START=0x40000000
CONFIG_SYS_MEMTEST_END=0x80000000
@@ -81,7 +78,7 @@ CONFIG_IP_DEFRAG=y
CONFIG_TFTP_BLOCKSIZE=4096
CONFIG_SPL_DM=y
CONFIG_BOOTCOUNT_LIMIT=y
-CONFIG_SYS_BOOTCOUNT_MAGIC=0xB0C40000
+CONFIG_BOOTCOUNT_ENV=y
CONFIG_SPL_CLK_COMPOSITE_CCF=y
CONFIG_CLK_COMPOSITE_CCF=y
CONFIG_SPL_CLK_IMX8MM=y