From f3343f2560e23d2eb1ce7d9fbb9eb75b9498825c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 22 Jun 2020 20:14:16 +0200 Subject: mb/amd/mandolin/acpi: drop gpe.asl Change-Id: I366108334006c81a4d5fb193f583a1e83f7c1456 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/42703 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/amd/mandolin/acpi/gpe.asl | 65 --------------------------------- src/mainboard/amd/mandolin/dsdt.asl | 3 -- 2 files changed, 68 deletions(-) delete mode 100644 src/mainboard/amd/mandolin/acpi/gpe.asl diff --git a/src/mainboard/amd/mandolin/acpi/gpe.asl b/src/mainboard/amd/mandolin/acpi/gpe.asl deleted file mode 100644 index e28edf84ba..0000000000 --- a/src/mainboard/amd/mandolin/acpi/gpe.asl +++ /dev/null @@ -1,65 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -// -// -// -// todo: check file for accuracy -// -// -// - -External (\_SB.PCI0.PBR4, DeviceObj) -External (\_SB.PCI0.PBR5, DeviceObj) -External (\_SB.PCI0.PBR6, DeviceObj) -External (\_SB.PCI0.PBR7, DeviceObj) -External (\_SB.PCI0.AZHD, DeviceObj) - -Scope(\_GPE) { /* Start Scope GPE */ - - /* General event 3 */ - Method(_L03) { - /* DBGO("\\_GPE\\_L00\n") */ - } - - /* Legacy PM event */ - Method(_L08) { - /* DBGO("\\_GPE\\_L08\n") */ - } - - /* Temp warning (TWarn) event */ - Method(_L09) { - /* DBGO("\\_GPE\\_L09\n") */ - /* Notify (\_TZ.TZ00, 0x80) */ - } - - /* USB controller PME# */ - Method(_L0B) { - /* DBGO("\\_GPE\\_L0B\n") */ - Notify(\_SB.PCI0.EHC0, 0x02) /* NOTIFY_DEVICE_WAKE */ - Notify(\_SB.PCI0.XHC0, 0x02) /* NOTIFY_DEVICE_WAKE */ - } - - /* ExtEvent0 SCI event */ - Method(_L10) { - /* DBGO("\\_GPE\\_L10\n") */ - } - - /* ExtEvent1 SCI event */ - Method(_L11) { - /* DBGO("\\_GPE\\_L11\n") */ - } - - /* GPIO0 or GEvent8 event */ - Method(_L18) { - /* DBGO("\\_GPE\\_L18\n") */ - Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */ - Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */ - Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */ - Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */ - } - - /* Azalia SCI event */ - Method(_L1B) { - /* DBGO("\\_GPE\\_L1B\n") */ - Notify(\_SB.PCI0.AZHD, 0x02) /* NOTIFY_DEVICE_WAKE */ - } -} /* End Scope GPE */ diff --git a/src/mainboard/amd/mandolin/dsdt.asl b/src/mainboard/amd/mandolin/dsdt.asl index 02a661918f..4d5d7438d6 100644 --- a/src/mainboard/amd/mandolin/dsdt.asl +++ b/src/mainboard/amd/mandolin/dsdt.asl @@ -45,8 +45,5 @@ DefinitionBlock ( #include } /* End \_SB scope */ - - /* Define the General Purpose Events for the platform */ - #include "acpi/gpe.asl" } /* End of ASL file */ -- cgit v1.2.3