diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-10 14:09:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-02-19 09:18:05 +0100 |
commit | 63345435ac53949dc07b4ee7f31be4137b4132d1 (patch) | |
tree | 98827e68fe53a881e0882e9327a1221ec0d26d9a /drivers/watchdog/stm32_iwdg.c | |
parent | c6250f94edb7765d0cff198cb0ac87f75e556276 (diff) | |
download | barebox-63345435ac53949dc07b4ee7f31be4137b4132d1.tar.gz barebox-63345435ac53949dc07b4ee7f31be4137b4132d1.tar.xz |
watchdog: f71808e: only print reset reason if one's indicated
On most resets, a "reset reason: unknown" would clutter the console,
because the watchdog doesn't support differentiating between POR and
RST. Reduce the clutter by only printing the message when we have
something interesting to say (i.e. watchdog reset).
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/watchdog/stm32_iwdg.c')
0 files changed, 0 insertions, 0 deletions