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:
@@ -537,7 +537,7 @@ static void southbridge_smi_gsmi(void)
|
||||
u32 *ret, *param;
|
||||
u8 sub_command;
|
||||
em64t101_smm_state_save_area_t *io_smi =
|
||||
smi_apmc_find_state_save(ELOG_GSMI_APM_CNT);
|
||||
smi_apmc_find_state_save(APM_CNT_ELOG_GSMI);
|
||||
|
||||
if (!io_smi)
|
||||
return;
|
||||
@@ -604,7 +604,7 @@ static void southbridge_smi_apmc(void)
|
||||
}
|
||||
break;
|
||||
#if IS_ENABLED(CONFIG_ELOG_GSMI)
|
||||
case ELOG_GSMI_APM_CNT:
|
||||
case APM_CNT_ELOG_GSMI:
|
||||
southbridge_smi_gsmi();
|
||||
break;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user