From 35b601cd7196356bca9031091dc8c60a50223195 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 26 Jan 2021 11:16:33 +0100 Subject: mb/gigabyte/ga-h61m-series: Drop broken thermal.asl Was copy-pasted from another board and causes ACPI errors on Linux. Change-Id: I9d62462fb7ddc788d08489bf82b110aeae6a1ffc Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/49927 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Sumeet R Pawnikar Reviewed-by: Nico Huber --- .../gigabyte/ga-h61m-series/acpi/thermal.asl | 50 ---------------------- src/mainboard/gigabyte/ga-h61m-series/dsdt.asl | 1 - 2 files changed, 51 deletions(-) delete mode 100644 src/mainboard/gigabyte/ga-h61m-series/acpi/thermal.asl diff --git a/src/mainboard/gigabyte/ga-h61m-series/acpi/thermal.asl b/src/mainboard/gigabyte/ga-h61m-series/acpi/thermal.asl deleted file mode 100644 index 2544617d30..0000000000 --- a/src/mainboard/gigabyte/ga-h61m-series/acpi/thermal.asl +++ /dev/null @@ -1,50 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -// Thermal Zone - -External (\PPKG, MethodObj) - -Scope (\_TZ) -{ - ThermalZone (THRM) - { - Name (_TC1, 0x02) - Name (_TC2, 0x03) - - // Thermal zone polling frequency: 10 seconds - Name (_TZP, 100) - - // Thermal sampling period for passive cooling: 10 seconds - Name (_TSP, 100) - - // Convert from Degrees C to 1/10 Kelvin for ACPI - Method (CTOK, 1) - { - // 10th of Degrees C - Multiply (Arg0, 10, Local0) - - // Convert to Kelvin - Add (Local0, 2732, Local0) - - Return (Local0) - } - - // Threshold for OS to shutdown - Method (_CRT, 0, Serialized) - { - Return (CTOK (\TCRT)) - } - - // Threshold for passive cooling - Method (_PSV, 0, Serialized) - { - Return (CTOK (\TPSV)) - } - - // Processors used for passive cooling - Method (_PSL, 0, Serialized) - { - Return (\PPKG ()) - } - } -} diff --git a/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl b/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl index 5903648001..c510081c6d 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl +++ b/src/mainboard/gigabyte/ga-h61m-series/dsdt.asl @@ -15,7 +15,6 @@ DefinitionBlock( #include "acpi/mainboard.asl" #include "acpi/platform.asl" #include "acpi/superio.asl" - #include "acpi/thermal.asl" #include #include -- cgit v1.2.3