diff mbox series

configs: am335x_guardian: store boot count in AM3352 RTC block

Message ID 20240408060119.3675-1-Gireesh.Hiremath@in.bosch.com
State Accepted
Commit c87e626f9436a22bc20670dc463579b4f5bab8e7
Delegated to: Tom Rini
Headers show
Series configs: am335x_guardian: store boot count in AM3352 RTC block | expand

Commit Message

Gireesh Hiremath April 8, 2024, 6:01 a.m. UTC
From: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>

store bootcount in RTC block scratch register

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

Comments

Tom Rini April 19, 2024, 1:57 a.m. UTC | #1
On Mon, 08 Apr 2024 11:31:19 +0530, Gireesh.Hiremath@in.bosch.com wrote:

> store bootcount in RTC block scratch register
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

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