[PATCH] configs: am335x_guardian: store boot count in AM3352 RTC block

Gireesh.Hiremath at in.bosch.com Gireesh.Hiremath at in.bosch.com
Mon Apr 8 08:01:19 CEST 2024


From: Gireesh Hiremath <Gireesh.Hiremath at in.bosch.com>

store bootcount in RTC block scratch register

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath at in.bosch.com>
---
 configs/am335x_guardian_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig
index 75138542431..abbbb03d33d 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
-- 
2.30.2



More information about the U-Boot mailing list