diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-03-07 09:09:51 +0000 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-03-07 09:09:51 +0000 |
commit | 85e666dc37183c491227b794debb24e03a909ac1 (patch) | |
tree | 79bf02ffd7493109e24519bfa8ee18f882d1ef76 /src/mainboard/lenovo/x60 | |
parent | b641e98839b3310f46f822c7d5947cce33f7b622 (diff) |
X60: add thermal zone 1
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6435 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/lenovo/x60')
-rw-r--r-- | src/mainboard/lenovo/x60/acpi/ec.asl | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/acpi/thermal.asl | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl index f18b66586e..ec5c6abf45 100644 --- a/src/mainboard/lenovo/x60/acpi/ec.asl +++ b/src/mainboard/lenovo/x60/acpi/ec.asl @@ -39,6 +39,7 @@ Device(EC) KBLT, 1, /* Keyboard Light */ Offset (0x78), TMP0, 8, /* Thermal Zone 0 temperature */ + TMP1, 8, /* Thermal Zone 1 temperature */ Offset (0x81), PAGE, 8 /* Information Page Selector */ } diff --git a/src/mainboard/lenovo/x60/acpi/thermal.asl b/src/mainboard/lenovo/x60/acpi/thermal.asl index b7256ceec1..35b6f145b5 100644 --- a/src/mainboard/lenovo/x60/acpi/thermal.asl +++ b/src/mainboard/lenovo/x60/acpi/thermal.asl @@ -23,4 +23,19 @@ Scope(\_TZ) Return (C2K(\_SB.PCI0.LPCB.EC.TMP0)) } } + + ThermalZone(THM1) + { + Method(_CRT, 0, NotSerialized) { + Return (C2K(99)) + } + + Method(_PSV, 0, NotSerialized) { + Return (C2K(94)) + } + + Method(_TMP) { + Return (C2K(\_SB.PCI0.LPCB.EC.TMP1)) + } + } } |