stm32mp1: add timeout detection in reset driver
authorYann Gautier <yann.gautier@st.com>
Thu, 14 Feb 2019 08:17:55 +0000 (09:17 +0100)
committerYann Gautier <yann.gautier@st.com>
Thu, 14 Feb 2019 10:20:23 +0000 (11:20 +0100)
commit5202cb393da7f6f3a9cf48a49e2a12f3bdee2b16
tree764737f2f4ad38e55410e4b74836e3dfa898cd85
parent7ae58c6ba79fee3cc032aae2105b073304409ebc
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>
drivers/st/reset/stm32mp1_reset.c
include/drivers/st/stm32mp1_rcc.h