]> git.dujemihanovic.xyz Git - u-boot.git/commit
km: qrio: add access functions for ebootcount
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Tue, 16 Nov 2021 12:53:28 +0000 (12:53 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 1 Feb 2022 09:38:07 +0000 (15:08 +0530)
commitde144d5ffe0c15c56e3bbd64832bc4b265bd663f
tree8794afa83661dcc408457fad6e2d6171d3b8dd03
parent70003e52f4ed9b22a75ac4d084ceee65d9b14ea1
km: qrio: add access functions for ebootcount

The EBOOTCNT is a reserved persistent static memory area in QRIO,
and similar to BOOTCNT is intended to be used as boot counter location.

Comparable to BOOTCNT that is reserved for u-boot main bootcount
infrastructure, EBOOTCNT is intended to be used for pg-wcom board
specific purposes (e.g implementing early boot counter for fail-safe
u-boot update).

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/keymile/common/common.h
board/keymile/common/qrio.c