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>
This commit is contained in:
Felix Held 2020-06-18 21:14:31 +02:00 committed by Felix Held
parent b8febf44d1
commit fca4535acf
4 changed files with 4 additions and 21 deletions

View File

@ -34,7 +34,7 @@ DefinitionBlock (
#include <variant/acpi/sleep.asl>
/* Contains _SWS methods */
#include <acpi_wake_source.asl>
#include <soc/amd/common/acpi/acpi_wake_source.asl>
/* System Bus */
Scope(\_SB) { /* Start \_SB scope */

View File

@ -35,7 +35,7 @@ DefinitionBlock (
#include <variant/acpi/sleep.asl>
/* Contains _SWS methods */
#include <acpi_wake_source.asl>
#include <soc/amd/common/acpi/acpi_wake_source.asl>
/* System Bus */
Scope(\_SB) { /* Start \_SB scope */

View File

@ -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)

View File

@ -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)
}
}