Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/21160
Change subject: mb/lenovo/*/acpi_tables: Add critical and passive threshold ......................................................................
mb/lenovo/*/acpi_tables: Add critical and passive threshold
Add critical and passive threshold to be advertised in thermal zone 0.
Change-Id: Ic75a80994b27ac19651ed52b7fc3c00c65cd9c01 Signed-off-by: Patrick Rudolph siro@das-labor.org --- M src/mainboard/lenovo/t400/acpi_tables.c M src/mainboard/lenovo/t60/acpi_tables.c M src/mainboard/lenovo/x200/acpi_tables.c M src/mainboard/lenovo/x201/acpi_tables.c M src/mainboard/lenovo/x60/acpi_tables.c 5 files changed, 16 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/21160/1
diff --git a/src/mainboard/lenovo/t400/acpi_tables.c b/src/mainboard/lenovo/t400/acpi_tables.c index 1540d73..feced93 100644 --- a/src/mainboard/lenovo/t400/acpi_tables.c +++ b/src/mainboard/lenovo/t400/acpi_tables.c @@ -26,6 +26,7 @@ #include <device/pci_ids.h>
#include "southbridge/intel/i82801ix/nvs.h" + void acpi_create_gnvs(global_nvs_t *gnvs) { memset((void *)gnvs, 0, sizeof(*gnvs)); @@ -36,6 +37,9 @@ gnvs->cmap = 0x01; gnvs->cmbp = 0x01;
+ /* Set thermal levels */ + gnvs->tcrt = 100; + gnvs->tpsv = 90; }
unsigned long acpi_fill_madt(unsigned long current) diff --git a/src/mainboard/lenovo/t60/acpi_tables.c b/src/mainboard/lenovo/t60/acpi_tables.c index b5b51a0..d29a6cc 100644 --- a/src/mainboard/lenovo/t60/acpi_tables.c +++ b/src/mainboard/lenovo/t60/acpi_tables.c @@ -32,4 +32,7 @@ gnvs->cmap = 0x01; gnvs->cmbp = 0x01;
+ /* Set thermal levels */ + gnvs->tcrt = 100; + gnvs->tpsv = 90; } diff --git a/src/mainboard/lenovo/x200/acpi_tables.c b/src/mainboard/lenovo/x200/acpi_tables.c index 1540d73..43a0fc8 100644 --- a/src/mainboard/lenovo/x200/acpi_tables.c +++ b/src/mainboard/lenovo/x200/acpi_tables.c @@ -36,6 +36,9 @@ gnvs->cmap = 0x01; gnvs->cmbp = 0x01;
+ /* Set thermal levels */ + gnvs->tcrt = 100; + gnvs->tpsv = 90; }
unsigned long acpi_fill_madt(unsigned long current) diff --git a/src/mainboard/lenovo/x201/acpi_tables.c b/src/mainboard/lenovo/x201/acpi_tables.c index 70719e8..d817d19 100644 --- a/src/mainboard/lenovo/x201/acpi_tables.c +++ b/src/mainboard/lenovo/x201/acpi_tables.c @@ -29,4 +29,7 @@
void acpi_create_gnvs(global_nvs_t * gnvs) { + /* Set thermal levels */ + gnvs->tcrt = 100; + gnvs->tpsv = 90; } diff --git a/src/mainboard/lenovo/x60/acpi_tables.c b/src/mainboard/lenovo/x60/acpi_tables.c index b5b51a0..d29a6cc 100644 --- a/src/mainboard/lenovo/x60/acpi_tables.c +++ b/src/mainboard/lenovo/x60/acpi_tables.c @@ -32,4 +32,7 @@ gnvs->cmap = 0x01; gnvs->cmbp = 0x01;
+ /* Set thermal levels */ + gnvs->tcrt = 100; + gnvs->tpsv = 90; }