From: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Date: Mon, 8 Apr 2024 06:01:19 +0000 (+0530)
Subject: configs: am335x_guardian: store boot count in AM3352 RTC block
X-Git-Tag: v2025.01-rc5-pxa1908~531
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B?a=commitdiff_plain;h=c87e626f9436a22bc20670dc463579b4f5bab8e7;p=u-boot.git

configs: am335x_guardian: store boot count in AM3352 RTC block

store bootcount in RTC block scratch register

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
---

diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig
index 7513854243..abbbb03d33 100644
--- a/configs/am335x_guardian_defconfig
+++ b/configs/am335x_guardian_defconfig
@@ -16,6 +16,7 @@ CONFIG_AM335X_USB1=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_BOOTCOUNT_BOOTLIMIT=3
+CONFIG_SYS_BOOTCOUNT_ADDR=0x44E3E000
 CONFIG_SPL=y
 CONFIG_ENV_OFFSET_REDUND=0x540000
 CONFIG_SPL_LIBDISK_SUPPORT=y