From 228f004f76c619358f18bba52742e94405289479 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 2 Nov 2019 17:26:42 +0100 Subject: mb/*/*{i82801ix}: Use sb/intel/common/acpi/platform.asl Change-Id: I9150db163131d4c3f99a4e0b6922a61c96a6d6e2 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/36578 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/asus/p5qc/acpi/platform.asl | 28 ---------------------------- src/mainboard/asus/p5qc/dsdt.asl | 2 +- src/mainboard/intel/dg43gt/acpi/platform.asl | 28 ---------------------------- src/mainboard/intel/dg43gt/dsdt.asl | 2 +- 4 files changed, 2 insertions(+), 58 deletions(-) delete mode 100644 src/mainboard/asus/p5qc/acpi/platform.asl delete mode 100644 src/mainboard/intel/dg43gt/acpi/platform.asl (limited to 'src/mainboard') diff --git a/src/mainboard/asus/p5qc/acpi/platform.asl b/src/mainboard/asus/p5qc/acpi/platform.asl deleted file mode 100644 index 6c92a4ed47..0000000000 --- a/src/mainboard/asus/p5qc/acpi/platform.asl +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2015 Damien Zammit - * - * 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/asus/p5qc/dsdt.asl b/src/mainboard/asus/p5qc/dsdt.asl index cc9efbb445..b9b5adcc24 100644 --- a/src/mainboard/asus/p5qc/dsdt.asl +++ b/src/mainboard/asus/p5qc/dsdt.asl @@ -25,7 +25,7 @@ DefinitionBlock( ) { // global NVS and variables - #include "acpi/platform.asl" + #include #include Scope (\_SB) { diff --git a/src/mainboard/intel/dg43gt/acpi/platform.asl b/src/mainboard/intel/dg43gt/acpi/platform.asl deleted file mode 100644 index 6c92a4ed47..0000000000 --- a/src/mainboard/intel/dg43gt/acpi/platform.asl +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2015 Damien Zammit - * - * 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/intel/dg43gt/dsdt.asl b/src/mainboard/intel/dg43gt/dsdt.asl index 75073caed2..f36d179534 100644 --- a/src/mainboard/intel/dg43gt/dsdt.asl +++ b/src/mainboard/intel/dg43gt/dsdt.asl @@ -25,7 +25,7 @@ DefinitionBlock( ) { // global NVS and variables - #include "acpi/platform.asl" + #include #include Scope (\_SB) { -- cgit v1.2.3