commit | 8ea4982e83a9bed6b57eac5e672af67714df574f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu May 02 10:52:15 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed May 08 13:02:16 2019 +0800 |
tree | 09f464bc1a55ebb4041f32d8fb8c843f7be1bdb7 | |
parent | 90bf4d96956da480f5d44e3623a57c5a1c167791 [diff] |
x86: sysreset: Implement the get_last() method Add a default implementation of this method which always indicates that the last reset was a power-on reset. This is the most likely type of reset and without a PCH-specific driver we cannot determine any other type. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>