Skip to content
Commit 66d1dce0 authored by Shuah Khan's avatar Shuah Khan
Browse files

selftests/watchdog: change to print reset reason info.



The test prints reset reason when WDIOC_GETBOOTSTATUS returns
a 0 flag value and all other cases simply say watchdog.

Parse the flag values returned by WDIOC_GETBOOTSTATUS and print
corresponding reset reason for each WDIOF_* boot status.

Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent de3ee3f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment