summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-08-23 17:42:28 +0200
committerPatrick Rudolph <siro@das-labor.org>2017-08-27 13:07:21 +0000
commitafa627db2ee414db4e31c64082bdee267e33af0b (patch)
treec41ec1645c1e3cac143780e6f0522177916e26df /src/mainboard/lenovo/t400
parent9c7ce28b2fe3f1b077562dc1f47679bf5115c0cf (diff)
downloadcoreboot-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/t400')
-rw-r--r--src/mainboard/lenovo/t400/acpi_tables.c4
1 files changed, 4 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)