elog: make elog's SMM handler code follow everything else

Instead of ELOG_GSMI_APM_CNT use APM_CNT_ELOG_GSMI and define it in
cpu/x86/smm.h

Change-Id: I3a3e2f823c91b475d1e15b8c20e9cf5f3fd9de83
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/30022
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Georgi
2018-12-03 16:10:33 +01:00
parent 8b04dc730d
commit d61839c3ea
11 changed files with 19 additions and 21 deletions

View File

@@ -473,6 +473,7 @@ typedef struct {
#define APM_CNT_GNVS_UPDATE 0xea
#define APM_CNT_FINALIZE 0xcb
#define APM_CNT_LEGACY 0xcc
#define APM_CNT_ELOG_GSMI 0xef
#define APM_STS 0xb3
/* SMI handler function prototypes */

View File

@@ -16,9 +16,6 @@
#ifndef ELOG_H_
#define ELOG_H_
/* SMI command code for GSMI event logging */
#define ELOG_GSMI_APM_CNT 0xEF
#define MAX_EVENT_SIZE 0x7F
/* End of log */