commit | 5e68f6b39df229232c14f7c39e1041f9e869b859 | [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 | 4b94d91c98ac65e3d64489a0930070726a01d412 [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>