commit | 751fed426f87204517df14de76762461cd2a4203 | [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 | eb517315a67320e770cf4a100a922e8ae18fa54e [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>