diff options
author | David Hendricks <dhendrix@chromium.org> | 2014-05-13 20:28:49 -0700 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2015-01-03 00:25:27 +0100 |
commit | 739e6a84aa9ccacf54db3da6c1e0777cb86ebea5 (patch) | |
tree | 1ebf2660ac0022f601676b105ece87829946b950 /documentation/POSTCODES | |
parent | 22261c387e0dea62126aab6c6765fef0122d10ba (diff) |
elog: Add function to log boot reason in ChromeOS case
This adds a generic helper function for adding boot reason in the
ChromeOS case. If vboot is enabled, it will use information passed
in via the vboot handoff table in cbmem to determine mode and
reason in the case of recovery.
BUG=chromium:373467
BRANCH=nyan
TEST=built along with follow-up CL and booted on Big under various
modes, verified entry was added to eventlog with "mosys eventlog list"
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Original-Change-Id: I50a7aa6d55eb46413fe9929e732d6eb18c758d4b
Original-Reviewed-on: https://chromium-review.googlesource.com/199690
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Original-Commit-Queue: David Hendricks <dhendrix@chromium.org>
Original-Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 961c0bd1dd5512b1c2feb2ed4391bf507900eb7a)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: I6ae4e2a891966d2d1de7d37dcc551383e94e4d75
Reviewed-on: http://review.coreboot.org/7991
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'documentation/POSTCODES')
0 files changed, 0 insertions, 0 deletions