commit | 2a07269062a8e63dadc23be0f8b0d4638da7d2d2 | [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 | e628bba785a310e80193f9a34c0b53fcb2136c46 [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>