mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-14 00:07:46 +08:00
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>