]> git.baikalelectronics.ru Git - uboot.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)
commit5f33e08167f51ac7d88e479482f8f80a169c1bfd
tree8794afa83661dcc408457fad6e2d6171d3b8dd03
parent807302f0f6d493363c9a3e391a17215f95ada1ef
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