diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-10 14:09:52 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-02-19 09:18:05 +0100 |
commit | 2f925b37f04f4d5a54b92f8b5f481618f6866ffa (patch) | |
tree | 507bad5bedc683942c484e38edabccad0a7c91fb /lib/bitmap.c | |
parent | 0b1ffec27b0dca8d57d8bfd6a9c3da62fe851812 (diff) | |
download | barebox-2f925b37f04f4d5a54b92f8b5f481618f6866ffa.tar.gz barebox-2f925b37f04f4d5a54b92f8b5f481618f6866ffa.tar.xz |
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 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions