UPSTREAM: soc/intel/common: log event when MRC cache is updated
Log when the MRC cache is attempted to be updated with status of success or failure. Just one slot is supported currently which is deemed 'normal'. This is because there are more slots anticipated in the future. BUG=chrome-os-partner:59395 BRANCH=None TEST=None Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/17231 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) Change-Id: I0f81458325697aff9924cc359a4173e0d35da5da Reviewed-on: https://chromium-review.googlesource.com/408264 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
9f5be6d828
commit
245f7561d4
2 changed files with 29 additions and 0 deletions
|
|
@ -149,6 +149,16 @@ struct elog_event_data_me_extended {
|
|||
#define ELOG_TYPE_WAKE 0xa8
|
||||
#define ELOG_TYPE_FW_WAKE 0xa9
|
||||
|
||||
/* Memory Cache Update */
|
||||
#define ELOG_TYPE_MEM_CACHE_UPDATE 0xaa
|
||||
#define ELOG_MEM_CACHE_UPDATE_SLOT_NORMAL 0
|
||||
#define ELOG_MEM_CACHE_UPDATE_STATUS_SUCCESS 0
|
||||
#define ELOG_MEM_CACHE_UPDATE_STATUS_FAIL 1
|
||||
struct elog_event_mem_cache_update {
|
||||
u8 slot;
|
||||
u8 status;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#if CONFIG_ELOG
|
||||
/* Eventlog backing storage must be initialized before calling elog_init(). */
|
||||
extern int elog_init(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue