From 413027b0c732dc4406835de0ede4a79de3bd9f85 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 11 Feb 2021 11:13:51 -0700 Subject: mainboard/ocp/monolake: Remove ACPI PNP0C0C device Remove the empty PWRB ACPI device. The power button is controlled by the fixed power button model in PM1x_EVT_BLK and doesn't have a control method. The only device in mainboard.asl was PWRB, so remove the file. This fixes the FWTS error: acpi_pwrb: PWR_Button field in FACP should not be zero with ACPI PNP0C0C device. Change-Id: Idd8c3588694b913b52ca6509332603e3525117b7 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/c/coreboot/+/50569 Tested-by: build bot (Jenkins) Reviewed-by: Jay Talbott Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- src/mainboard/ocp/monolake/acpi/mainboard.asl | 20 -------------------- src/mainboard/ocp/monolake/dsdt.asl | 2 -- 2 files changed, 22 deletions(-) delete mode 100644 src/mainboard/ocp/monolake/acpi/mainboard.asl diff --git a/src/mainboard/ocp/monolake/acpi/mainboard.asl b/src/mainboard/ocp/monolake/acpi/mainboard.asl deleted file mode 100644 index 62944ef3532f..000000000000 --- a/src/mainboard/ocp/monolake/acpi/mainboard.asl +++ /dev/null @@ -1,20 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2012 Google Inc. - * - * 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. - */ - -Device (PWRB) -{ - Name(_HID, EisaId("PNP0C0C")) -} diff --git a/src/mainboard/ocp/monolake/dsdt.asl b/src/mainboard/ocp/monolake/dsdt.asl index 0d9e90dab3ec..5fe9d44f7ea3 100644 --- a/src/mainboard/ocp/monolake/dsdt.asl +++ b/src/mainboard/ocp/monolake/dsdt.asl @@ -40,6 +40,4 @@ DefinitionBlock( #include } - - #include "acpi/mainboard.asl" } -- cgit v1.2.3