[coreboot] Patch merged into coreboot/master: 13b6519 NVS: Add a temp sensor ID and an ACPI Method to set it

gerrit at coreboot.org gerrit at coreboot.org
Thu Jul 26 20:31:32 CEST 2012


the following patch was just integrated into master:
commit 13b65191bbcc97e2526c74cec03eba5f8e50d5fd
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Mon Jul 16 11:28:52 2012 -0700

    NVS: Add a temp sensor ID and an ACPI Method to set it
    
    This will allow various teams to select which thermal sensor
    will control the thermal zones.
    
    Also add a method to notify the thermalzones of a change
    so these threshold/sensor methods take effect.
    
    Needs a modified BIOS that uses the NVS TMPS value in
    the thermalzone to read a different sensor.
    
    Then, use a kernel driver that contains the following:
    
    /* Adjust temperature sensor id to 2 */
    union acpi_object param;
    struct acpi_object_list input;
    param.type = ACPI_TYPE_INTEGER
    param.integer.value = 2
    input.count = 1;
    input.pointer = ¶m;
    acpi_evaluate_object(NULL, "\\TMPU", &input, NULL);
    
    And ensure that the temperature sensor that is being
    monitored switches to ID 2.
    
    Change-Id: I6319741358ba31eb8a3dc635d64f3f0acf683386
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>

Build-Tested: build bot (Jenkins) at Wed Jul 25 03:26:19 2012, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Thu Jul 26 20:31:30 2012, giving +2
See http://review.coreboot.org/1340 for details.

-gerrit




More information about the coreboot mailing list