summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-02 17:34:45 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-04 11:45:58 +0000
commit2f9a0cdfa63f7fe2789039cadf793234743aba83 (patch)
treef8ef10b743e5521bb3bea18f417ed8de79ec9551 /src/mainboard/asrock
parent816326576ace8a46af1dba4a2b9e8d80ea2cbc7d (diff)
downloadcoreboot-2f9a0cdfa63f7fe2789039cadf793234743aba83.tar.xz
mb/*/*{i82801gx}: Use sb/intel/common/acpi/platform.asl
Change-Id: Ifc0799d26394a525d764fb4ffc096b48060ee22f Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36579 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/g41c-gs/acpi/platform.asl28
-rw-r--r--src/mainboard/asrock/g41c-gs/dsdt.asl2
2 files changed, 1 insertions, 29 deletions
diff --git a/src/mainboard/asrock/g41c-gs/acpi/platform.asl b/src/mainboard/asrock/g41c-gs/acpi/platform.asl
deleted file mode 100644
index 6c92a4ed47..0000000000
--- a/src/mainboard/asrock/g41c-gs/acpi/platform.asl
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-Method(_PIC, 1)
-{
- /* Remember the OS' IRQ routing choice. */
- Store(Arg0, PICM)
-}
-
-/* SMI I/O Trap */
-Method(TRAP, 1, Serialized)
-{
- Store (Arg0, SMIF) /* SMI Function */
- Store (0, TRP0) /* Generate trap */
- Return (SMIF) /* Return value of SMI handler */
-}
diff --git a/src/mainboard/asrock/g41c-gs/dsdt.asl b/src/mainboard/asrock/g41c-gs/dsdt.asl
index e0e3a3a94b..31e7c10d3e 100644
--- a/src/mainboard/asrock/g41c-gs/dsdt.asl
+++ b/src/mainboard/asrock/g41c-gs/dsdt.asl
@@ -25,7 +25,7 @@ DefinitionBlock(
)
{
// global NVS and variables
- #include "acpi/platform.asl"
+ #include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
Scope (\_SB) {