summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/acpi/platform.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/acpi/platform.asl')
-rw-r--r--src/soc/intel/broadwell/acpi/platform.asl20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/acpi/platform.asl b/src/soc/intel/broadwell/acpi/platform.asl
index f404352504..880b2061ec 100644
--- a/src/soc/intel/broadwell/acpi/platform.asl
+++ b/src/soc/intel/broadwell/acpi/platform.asl
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* Enable ACPI _SWS methods */
-#include <soc/intel/common/acpi/acpi_wake_source.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/*
@@ -19,3 +17,21 @@ Method (_WAK, 1)
{
Return (Package (){ 0, 0 })
}
+
+Scope (\_SB)
+{
+ Method (_SWS)
+ {
+ /* Index into PM1 for device that caused wake */
+ Return (\PM1I)
+ }
+}
+
+Scope (\_GPE)
+{
+ Method (_SWS)
+ {
+ /* Index into GPE for device that caused wake */
+ Return (\GPEI)
+ }
+}