commit | 77ce6a561eae769419559632afa4d807a4fc33b6 | [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 | 379d77b3705b0f3a88332663bba956289cad5797 [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