Author: svens
Date: Mon Mar  7 10:09:51 2011
New Revision: 6435
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6435

Log:
X60: add thermal zone 1

Signed-off-by: Sven Schnelle <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>
Acked-by: Peter Stuge <[email protected]>

Modified:
   trunk/src/mainboard/lenovo/x60/acpi/ec.asl
   trunk/src/mainboard/lenovo/x60/acpi/thermal.asl

Modified: trunk/src/mainboard/lenovo/x60/acpi/ec.asl
==============================================================================
--- trunk/src/mainboard/lenovo/x60/acpi/ec.asl  Mon Mar  7 10:00:50 2011        
(r6434)
+++ trunk/src/mainboard/lenovo/x60/acpi/ec.asl  Mon Mar  7 10:09:51 2011        
(r6435)
@@ -39,6 +39,7 @@
                                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 */
         }

Modified: trunk/src/mainboard/lenovo/x60/acpi/thermal.asl
==============================================================================
--- trunk/src/mainboard/lenovo/x60/acpi/thermal.asl     Mon Mar  7 10:00:50 
2011        (r6434)
+++ trunk/src/mainboard/lenovo/x60/acpi/thermal.asl     Mon Mar  7 10:09:51 
2011        (r6435)
@@ -23,4 +23,19 @@
                        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))
+               }
+       }
 }

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to