summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-06-18 21:14:31 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-19 23:47:24 +0000
commitfca4535acf9231be90afa15cf9ef3c1058a74d62 (patch)
treece8167f0916199676a14a87e6130ba9df4ae3832 /src/soc
parentb8febf44d1502149cf759286dfe020f45c307be6 (diff)
soc/amd: move acpi_wake_source.asl to common directory
Files are both identical and common for both SoCs. Change-Id: I54b78108d342a0fd03bf70ffe6a09695c5678eb4 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42545 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/acpi/acpi_wake_source.asl (renamed from src/soc/amd/picasso/acpi/acpi_wake_source.asl)2
-rw-r--r--src/soc/amd/stoneyridge/acpi/acpi_wake_source.asl19
2 files changed, 2 insertions, 19 deletions
diff --git a/src/soc/amd/picasso/acpi/acpi_wake_source.asl b/src/soc/amd/common/acpi/acpi_wake_source.asl
index e847884073..de9cb25796 100644
--- a/src/soc/amd/picasso/acpi/acpi_wake_source.asl
+++ b/src/soc/amd/common/acpi/acpi_wake_source.asl
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+/* The SoC-specific code needs to provide the PM1I and GPEI fields */
+
Scope (\_SB)
{
Method (_SWS)
diff --git a/src/soc/amd/stoneyridge/acpi/acpi_wake_source.asl b/src/soc/amd/stoneyridge/acpi/acpi_wake_source.asl
deleted file mode 100644
index e847884073..0000000000
--- a/src/soc/amd/stoneyridge/acpi/acpi_wake_source.asl
+++ /dev/null
@@ -1,19 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-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)
- }
-}