diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-15 14:28:51 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-16 16:55:50 +0100 |
commit | 475eac0d469f38654626734944fab4c63a32bd58 (patch) | |
tree | fb02670540bef76bdfee65c4aac97e3bf9ccb29a /commands | |
parent | 9b14a8b4b9f5d080bebc8fa9c2f0d45c787b87f5 (diff) | |
download | barebox-475eac0d469f38654626734944fab4c63a32bd58.tar.gz barebox-475eac0d469f38654626734944fab4c63a32bd58.tar.xz |
ARM: i.MX: When SRSR shows wdog then lookup reset source in wdog
On i.MX6 when the watchdog has resetted the system then the SRSR
register correctly shows that the watchdog has resetted the system.
This is not the desired result though, a "reset" in barebox or "reboot"
in Linux should result in "RST" as reset source. So instead of making
the SRSR register value overwrite the reset source read from the
watchdog registers, interpret the SRSR value corresponding to watchdog
reset as "lookup details in the watchdog registers".
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions