[coreboot] New patch to review for coreboot: 6ea0b2e EC: Prepare to read and log last post code from previous boot

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Nov 6 23:51:49 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1703

-gerrit

commit 6ea0b2ed499ce74322cfbfcbb8c1c3c82c5c980b
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Mon Aug 13 09:40:02 2012 -0700

    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 at chromium.org>
---
 src/include/elog.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/include/elog.h b/src/include/elog.h
index 488549e..52a74ed 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);




More information about the coreboot mailing list