commit | 7e4d49c5dbd2eca6b6a66ed2623604b6c6aec075 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Nov 23 21:29:28 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Dec 05 06:01:34 2018 -0700 |
tree | 5b0f9056117025030bfdc318c77ab8be99aa91a7 | |
parent | 08ffea7ae4dd85d968f9936c36d1c652cd91a40c [diff] |
sandbox: sysreset: Update to support power-on reset If U-Boot is started from SPL or TPL, then those earlier phases deal with the reset cause. On real hardware this cause may be lost once it is read. Emulate that behaviour in sandbox by reporting a warm reset when a previous phase has run since start-up. Signed-off-by: Simon Glass <sjg@chromium.org>