elog: Add new events
Coreboot was recently extended to keep track of some extra
device info in CMOS similar to how it handles post codes.
Currently this consists of the device path of the device
that coreboot is about to initialize.
This is encapsualted in a new event type that mosys can
Also, the "EC Shutdown" event type was added in a previous
platform but was never added to mosys.
TEST=manual: interrupted boot with reset button and
gathered the eventlog. Mosys has been extended to
decode the well-known POST codes:
26 | 2013-06-10 10:32:48 | System boot | 120
27 | 2013-06-10 10:32:48 | Last post code in previous boot | 0x75 | Device Initialize
28 | 2013-06-10 10:32:48 | Extra info from previous boot | PCI | 00:16.0
29 | 2013-06-10 10:32:48 | Reset Button
30 | 2013-06-10 10:32:48 | System Reset
Signed-off-by: Duncan Laurie <email@example.com>
Reviewed-by: David Hendricks <firstname.lastname@example.org>
3 files changed