From 2f9a0cdfa63f7fe2789039cadf793234743aba83 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 2 Nov 2019 17:34:45 +0100 Subject: mb/*/*{i82801gx}: Use sb/intel/common/acpi/platform.asl Change-Id: Ifc0799d26394a525d764fb4ffc096b48060ee22f Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/36579 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/foxconn/d41s/acpi/platform.asl | 28 -------------------------- src/mainboard/foxconn/d41s/dsdt.asl | 2 +- src/mainboard/foxconn/g41s-k/acpi/platform.asl | 28 -------------------------- src/mainboard/foxconn/g41s-k/dsdt.asl | 2 +- 4 files changed, 2 insertions(+), 58 deletions(-) delete mode 100644 src/mainboard/foxconn/d41s/acpi/platform.asl delete mode 100644 src/mainboard/foxconn/g41s-k/acpi/platform.asl (limited to 'src/mainboard/foxconn') diff --git a/src/mainboard/foxconn/d41s/acpi/platform.asl b/src/mainboard/foxconn/d41s/acpi/platform.asl deleted file mode 100644 index 6c92a4ed47..0000000000 --- a/src/mainboard/foxconn/d41s/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/foxconn/d41s/dsdt.asl b/src/mainboard/foxconn/d41s/dsdt.asl index dc1dacc66b..e07ecc2801 100644 --- a/src/mainboard/foxconn/d41s/dsdt.asl +++ b/src/mainboard/foxconn/d41s/dsdt.asl @@ -24,7 +24,7 @@ DefinitionBlock( 0x20090419 // OEM revision ) { - #include "acpi/platform.asl" + #include #include #include diff --git a/src/mainboard/foxconn/g41s-k/acpi/platform.asl b/src/mainboard/foxconn/g41s-k/acpi/platform.asl deleted file mode 100644 index bda0df74b1..0000000000 --- a/src/mainboard/foxconn/g41s-k/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/foxconn/g41s-k/dsdt.asl b/src/mainboard/foxconn/g41s-k/dsdt.asl index e0e3a3a94b..31e7c10d3e 100644 --- a/src/mainboard/foxconn/g41s-k/dsdt.asl +++ b/src/mainboard/foxconn/g41s-k/dsdt.asl @@ -25,7 +25,7 @@ DefinitionBlock( ) { // global NVS and variables - #include "acpi/platform.asl" + #include #include Scope (\_SB) { -- cgit v1.2.3