diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2020-06-18 21:14:31 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-19 23:47:24 +0000 |
commit | fca4535acf9231be90afa15cf9ef3c1058a74d62 (patch) | |
tree | ce8167f0916199676a14a87e6130ba9df4ae3832 /src/soc/amd/common | |
parent | b8febf44d1502149cf759286dfe020f45c307be6 (diff) | |
download | coreboot-fca4535acf9231be90afa15cf9ef3c1058a74d62.tar.xz |
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/amd/common')
-rw-r--r-- | src/soc/amd/common/acpi/acpi_wake_source.asl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/soc/amd/common/acpi/acpi_wake_source.asl b/src/soc/amd/common/acpi/acpi_wake_source.asl new file mode 100644 index 0000000000..de9cb25796 --- /dev/null +++ b/src/soc/amd/common/acpi/acpi_wake_source.asl @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* The SoC-specific code needs to provide the PM1I and GPEI fields */ + +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) + } +} |