commit | 1bb9072ab46993d8c04c119250dfabbf945cfe72 | [log] [tgz] |
---|---|---|
author | Etienne Carriere <etienne.carriere@st.com> | Wed Feb 05 10:03:27 2020 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Thu Sep 24 09:32:23 2020 +0200 |
tree | 3af8f26a71deb464d285f62f5b415db04fb4dbc7 | |
parent | 0adc87c75d3c8b67d70008af39ba256a68ae00f8 [diff] |
clk: stm32mp1: fix rcc mckprot status MCKPROT hardening in RCC mandates that both bits RCC[TZEN] and RCC[MCKPROT] are enabled. This change fixes stm32mp1_rcc_is_mckprot() to check both bits, not RCC[MCKPROT] only. This change also updates stm32mp1_rcc_is_secure() for consistency. Change-Id: If1f07babdcb5677906ddbf974d9dc17255d4e174 Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>