commit | 07fbba5c44a48a28b5daaa9e372cb94d9c290ae8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 01 12:22:46 2018 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 09 04:40:27 2018 -0600 |
tree | 97843e594f8276674c09d73665fe376bba040ae3 | |
parent | b8b4d2af9fafe9d07c8599b0aad4786a5b8ed302 [diff] |
sysreset: Add a way to find the last reset We have a method to return the last reset as a string for humans, but not a method that allows it to be used programmatically. Add a new method that returns the last reset as an enum. Signed-off-by: Simon Glass <sjg@chromium.org>