From 4dceba25af5ae025fb2592f478a0f29c0eca7fb5 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 13 Aug 2012 09:40:02 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/1703 Reviewed-by: Marc Jones Tested-by: build bot (Jenkins) --- src/include/elog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3