From e181dd164bfb26e7c5b9fa5d2f8c52f4a6c60027 Mon Sep 17 00:00:00 2001 From: Wim Vervoorn Date: Thu, 2 Jan 2020 13:47:45 +0100 Subject: [PATCH] {mb/facebook/fbg1701,mb/portwell/m107}: Drop PWRB device The mainboard ASL code contained a power button definition. This is not required as the system uses the standard ACPI power button. Remove the PWRB device from ASL. BUG=N/A TEST=build Found-by: fwts 19.12.00 Change-Id: I4fac1411fd99475551bc970818759649f80b3f0e Signed-off-by: Wim Vervoorn Reviewed-on: https://review.coreboot.org/c/coreboot/+/38134 Reviewed-by: Frans Hendriks Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- .../facebook/fbg1701/acpi/mainboard.asl | 9 ------- .../portwell/m107/acpi/mainboard.asl | 26 ------------------- src/mainboard/portwell/m107/dsdt.asl | 1 - 3 files changed, 36 deletions(-) delete mode 100644 src/mainboard/portwell/m107/acpi/mainboard.asl diff --git a/src/mainboard/facebook/fbg1701/acpi/mainboard.asl b/src/mainboard/facebook/fbg1701/acpi/mainboard.asl index af79bd76af..a7c9849011 100644 --- a/src/mainboard/facebook/fbg1701/acpi/mainboard.asl +++ b/src/mainboard/facebook/fbg1701/acpi/mainboard.asl @@ -16,15 +16,6 @@ * GNU General Public License for more details. */ -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - Name (_UID, 1) - } -} - /* * Onboard CPLD */ diff --git a/src/mainboard/portwell/m107/acpi/mainboard.asl b/src/mainboard/portwell/m107/acpi/mainboard.asl deleted file mode 100644 index 2c325c6f13..0000000000 --- a/src/mainboard/portwell/m107/acpi/mainboard.asl +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2012 Google Inc. - * Copyright (C) 2015 Intel Corp. - * Copyright (C) 2018 Eltan B.V. - * - * 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. - */ - -Scope (\_SB) -{ - Device (PWRB) - { - Name (_HID, EisaId ("PNP0C0C")) - Name (_UID, 1) - } -} diff --git a/src/mainboard/portwell/m107/dsdt.asl b/src/mainboard/portwell/m107/dsdt.asl index 6fcb39af2f..ced3e10211 100644 --- a/src/mainboard/portwell/m107/dsdt.asl +++ b/src/mainboard/portwell/m107/dsdt.asl @@ -45,5 +45,4 @@ DefinitionBlock( /* Mainboard specific sleep states */ #include "acpi/sleepstates.asl" - #include "acpi/mainboard.asl" }