summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-02-10 14:09:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-19 09:18:05 +0100
commit2f925b37f04f4d5a54b92f8b5f481618f6866ffa (patch)
tree507bad5bedc683942c484e38edabccad0a7c91fb /arch
parent0b1ffec27b0dca8d57d8bfd6a9c3da62fe851812 (diff)
downloadbarebox-2f925b37f04f4d5a54b92f8b5f481618f6866ffa.tar.gz
reset: stm32: migrate restart reason and handler from stm32_iwdg
The watchdog driver will remain unprobed if the driver or the OF node is disabled, but the reset reason is useful even then. System reset and reset source determination is achieved with the RCC peripheral for which we have a reset controller driver. Move the code over there, so reset reason and reset are available always. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions