summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/kahlee/smihandler.c7
-rw-r--r--src/soc/amd/common/block/acpi/Makefile.inc1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/smihandler.c b/src/mainboard/google/kahlee/smihandler.c
index 6d43fbf098..62ba2b076d 100644
--- a/src/mainboard/google/kahlee/smihandler.c
+++ b/src/mainboard/google/kahlee/smihandler.c
@@ -20,6 +20,13 @@
#include <soc/smi.h>
#include <variant/ec.h>
+void mainboard_smi_gpi(u32 gpi_sts)
+{
+ if (IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC))
+ if (gpi_sts & (1 << EC_SMI_GPI))
+ chromeec_smi_process_events();
+}
+
void mainboard_smi_sleep(u8 slp_typ)
{
if (IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC))
diff --git a/src/soc/amd/common/block/acpi/Makefile.inc b/src/soc/amd/common/block/acpi/Makefile.inc
index 749dd62de5..b67eadab8f 100644
--- a/src/soc/amd/common/block/acpi/Makefile.inc
+++ b/src/soc/amd/common/block/acpi/Makefile.inc
@@ -1 +1,2 @@
ramstage-y += halt.c
+smm-y += halt.c