summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2012-12-19 09:14:10 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-03-14 20:15:08 +0100
commiteb58bc5af6b8bf626f38d0c07bf55db2835f53b5 (patch)
treef6d77a9ce9c2721fc3501df6bd3e773c5725c556 /src/mainboard/intel
parented7b52d3cb4c5f3f4ecfd43d93c0c5e2d459fe23 (diff)
downloadcoreboot-eb58bc5af6b8bf626f38d0c07bf55db2835f53b5.tar.xz
baskingridge: Report static temperature in _TMP
The current code is attempting to convert from an invalid starting temperature. Since we aren't sure where the temperature will come from yet just return a static value. This stops the kernel from going to S5 on boot because it thinks the temperature is too high. Change-Id: I433fa407e545458344af5842b353df5bc71bfdad Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/2679 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r--src/mainboard/intel/baskingridge/acpi/thermal.asl21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/mainboard/intel/baskingridge/acpi/thermal.asl b/src/mainboard/intel/baskingridge/acpi/thermal.asl
index f8e9d97eda..39dabe3ad6 100644
--- a/src/mainboard/intel/baskingridge/acpi/thermal.asl
+++ b/src/mainboard/intel/baskingridge/acpi/thermal.asl
@@ -63,26 +63,7 @@ Scope (\_TZ)
Method (_TMP, 0, Serialized)
{
- // Get CPU Temperature from PECI via SuperIO TMPIN3
- // FIXME: figure out how to read temp on this board.
- Store (30, Local0)
-
- // Check for invalid readings
- If (LOr (LEqual (Local0, 255), LEqual (Local0, 0))) {
- Return (CTOK (\F2ON))
- }
-
- // PECI raw value is an offset from Tj_max
- Subtract (255, Local0, Local1)
-
- // Handle values greater than Tj_max
- If (LGreaterEqual (Local1, \TMAX)) {
- Return (CTOK (\TMAX))
- }
-
- // Subtract from Tj_max to get temperature
- Subtract (\TMAX, Local1, Local0)
- Return (CTOK (Local0))
+ Return (CTOK (50))
}
Method (_AC0) {