diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-08-23 17:42:28 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2017-08-27 13:07:21 +0000 |
commit | afa627db2ee414db4e31c64082bdee267e33af0b (patch) | |
tree | c41ec1645c1e3cac143780e6f0522177916e26df /src/mainboard/lenovo | |
parent | 9c7ce28b2fe3f1b077562dc1f47679bf5115c0cf (diff) | |
download | coreboot-afa627db2ee414db4e31c64082bdee267e33af0b.tar.xz |
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>
Reviewed-on: https://review.coreboot.org/21160
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t400/acpi_tables.c | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/acpi_tables.c | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/x200/acpi_tables.c | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/acpi_tables.c | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/acpi_tables.c | 3 |
5 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/acpi_tables.c b/src/mainboard/lenovo/t400/acpi_tables.c index 1540d735df..feced93a3f 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 @@ void acpi_create_gnvs(global_nvs_t *gnvs) 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 b5b51a045d..d29a6ccb9d 100644 --- a/src/mainboard/lenovo/t60/acpi_tables.c +++ b/src/mainboard/lenovo/t60/acpi_tables.c @@ -32,4 +32,7 @@ void acpi_create_gnvs(global_nvs_t *gnvs) 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 1540d735df..43a0fc8c83 100644 --- a/src/mainboard/lenovo/x200/acpi_tables.c +++ b/src/mainboard/lenovo/x200/acpi_tables.c @@ -36,6 +36,9 @@ void acpi_create_gnvs(global_nvs_t *gnvs) 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 70719e898f..d817d19a01 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 b5b51a045d..d29a6ccb9d 100644 --- a/src/mainboard/lenovo/x60/acpi_tables.c +++ b/src/mainboard/lenovo/x60/acpi_tables.c @@ -32,4 +32,7 @@ void acpi_create_gnvs(global_nvs_t *gnvs) gnvs->cmap = 0x01; gnvs->cmbp = 0x01; + /* Set thermal levels */ + gnvs->tcrt = 100; + gnvs->tpsv = 90; } |