From d61839c3ea6dd5e35f680ce56b9e2f8247833116 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 3 Dec 2018 16:10:33 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/30022 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/include/cpu/x86/smm.h | 1 + src/include/elog.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h index 379b512e93..857ab356cb 100644 --- a/src/include/cpu/x86/smm.h +++ b/src/include/cpu/x86/smm.h @@ -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 */ diff --git a/src/include/elog.h b/src/include/elog.h index 8aecf2c29b..31891e01ec 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -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 */ -- cgit v1.2.3