[coreboot-gerrit] Change in coreboot[master]: soc/intel/apollolake: Add smi_handler_sci_mask in soc code
Subrata Banik (Code Review)
gerrit at coreboot.org
Thu Dec 14 15:58:48 CET 2017
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/22871
Change subject: soc/intel/apollolake: Add smi_handler_sci_mask in soc code
......................................................................
soc/intel/apollolake: Add smi_handler_sci_mask in soc code
Change-Id: I3b453e9ca659ea16e9e6c27bd83959ee343c7520
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/soc/intel/apollolake/cpu.c
M src/soc/intel/apollolake/smihandler.c
2 files changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/22871/1
diff --git a/src/soc/intel/apollolake/cpu.c b/src/soc/intel/apollolake/cpu.c
index 96c37f1..d093acc 100644
--- a/src/soc/intel/apollolake/cpu.c
+++ b/src/soc/intel/apollolake/cpu.c
@@ -238,7 +238,7 @@
static void post_mp_init(void)
{
- smm_southbridge_enable();
+ smm_southbridge_enable(PWRBTN_EN | GBL_EN);
if (IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_SGX))
mp_run_on_all_cpus(sgx_configure, 2000);
diff --git a/src/soc/intel/apollolake/smihandler.c b/src/soc/intel/apollolake/smihandler.c
index 22c7930..9d13042 100644
--- a/src/soc/intel/apollolake/smihandler.c
+++ b/src/soc/intel/apollolake/smihandler.c
@@ -34,6 +34,11 @@
return &em64t100_smm_ops;
}
+/* SMI handlers that should be serviced in SCI mode too. */
+uint32_t smi_handler_sci_mask =
+ SMI_HANDLER_SCI_EN(APM_SMI_STS) |
+ SMI_HANDLER_SCI_EN(SLP_SMI_STS);
+
const smi_handler_t southbridge_smi[32] = {
[SLP_SMI_STS] = smihandler_southbridge_sleep,
[APM_SMI_STS] = smihandler_southbridge_apmc,
--
To view, visit https://review.coreboot.org/22871
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b453e9ca659ea16e9e6c27bd83959ee343c7520
Gerrit-Change-Number: 22871
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171214/d8a57807/attachment.html>
More information about the coreboot-gerrit
mailing list