diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2012-08-13 09:40:02 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 08:28:57 +0100 |
commit | 4dceba25af5ae025fb2592f478a0f29c0eca7fb5 (patch) | |
tree | d26116c6b506c401f625bc1db0c8b4f448ab0752 | |
parent | 357bb2daf09090192c09ddde501a7e07337614e1 (diff) |
EC: Prepare to read and log last post code from previous boot
(elog portion, support in EC code pending)
- Use a new EC command to read the last post code
from the previous boot
- If the post code is not well-known final boot
or resume code then log it
Change-Id: Id6249e9a182243eb87c777edd56f48de72125e77
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/1703
Reviewed-by: Marc Jones <marcj303@gmail.com>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/include/elog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h index 488549eb1e..52a74edcae 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -109,6 +109,9 @@ struct elog_event_data_wake { /* Management Engine Events */ #define ELOG_TYPE_MANAGEMENT_ENGINE 0xa2 +/* Last post code from previous boot */ +#define ELOG_TYPE_LAST_POST_CODE 0xa3 + extern int elog_init(void); extern int elog_clear(void); extern void elog_add_event_raw(u8 event_type, void *data, u8 data_size); |