commit | 3cfdbadf364d1d59a72d3d9f9b21ab958d9f0c3d | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@foss.st.com> | Tue Jan 17 09:29:54 2023 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Sep 27 18:41:46 2023 +0200 |
tree | 338a52c8a6b6906c253f86f6b8a0c59697aca92c | |
parent | f6f82c97dbb4918c30922fb684d73ddc8e60c8bf [diff] |
fix(st): enable RTC clock before accessing nv counter The plat_get_nv_ctr() retrieves the non-volatile counter value from TAMP_COUNTR register in RTCTAMP peripheral. The clock needs to be enabled before accessing it. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I2e9fc2c7ac516d6f8624cc6c9d442ee85629bf9a