aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2019-02-14 09:17:55 +0100
committerYann Gautier <yann.gautier@st.com>2019-02-14 11:20:23 +0100
commit5202cb393da7f6f3a9cf48a49e2a12f3bdee2b16 (patch)
tree764737f2f4ad38e55410e4b74836e3dfa898cd85 /include
parent7ae58c6ba79fee3cc032aae2105b073304409ebc (diff)
downloadtrusted-firmware-a-5202cb393da7f6f3a9cf48a49e2a12f3bdee2b16.tar.gz
stm32mp1: add timeout detection in reset driver
This change makes the platform to panic in case of peripheral reset resource malfunction. Change-Id: I17eb9cb045b78a4e5142a8c33b744e84992d732a Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Nicolas LE BAYON <nicolas.le.bayon@st.com>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/st/stm32mp1_rcc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drivers/st/stm32mp1_rcc.h b/include/drivers/st/stm32mp1_rcc.h
index 2f29e84d59..1922c48154 100644
--- a/include/drivers/st/stm32mp1_rcc.h
+++ b/include/drivers/st/stm32mp1_rcc.h
@@ -280,6 +280,9 @@
/* Offset between RCC_MP_xxxENSETR and RCC_MP_xxxENCLRR registers */
#define RCC_MP_ENCLRR_OFFSET U(4)
+/* Offset between RCC_xxxRSTSETR and RCC_xxxRSTCLRR registers */
+#define RCC_RSTCLRR_OFFSET U(4)
+
/* Fields of RCC_BDCR register */
#define RCC_BDCR_LSEON BIT(0)
#define RCC_BDCR_LSEBYP BIT(1)