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
This commit is contained in:
Sven Schnelle 2011-03-07 09:09:51 +00:00
parent b641e98839
commit 85e666dc37
2 changed files with 16 additions and 0 deletions

View File

@ -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 */
}

View File

@ -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))
}
}
}