soc/intel/common: Add missing SoC common function into SMM library
Modify SMM common code in order to accommodate SKL, CNL, APL, GLK SOC code. Change-Id: Ie9f90df3336c1278b73284815b5197400512c1d2 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/22869 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -23,6 +23,16 @@ const struct smm_save_state_ops *get_smm_save_state_ops(void)
|
||||
return &em64t101_smm_ops;
|
||||
}
|
||||
|
||||
/* SMI handlers that should be serviced in SCI mode too. */
|
||||
uint32_t smi_handler_get_sci_mask(void)
|
||||
{
|
||||
uint32_t sci_mask =
|
||||
SMI_HANDLER_SCI_EN(APM_STS_BIT) |
|
||||
SMI_HANDLER_SCI_EN(SMI_ON_SLP_EN_STS_BIT);
|
||||
|
||||
return sci_mask;
|
||||
}
|
||||
|
||||
const smi_handler_t southbridge_smi[SMI_STS_BITS] = {
|
||||
[SMI_ON_SLP_EN_STS_BIT] = smihandler_southbridge_sleep,
|
||||
[APM_STS_BIT] = smihandler_southbridge_apmc,
|
||||
|
Reference in New Issue
Block a user