summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/acpi_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/x201/acpi_tables.c')
-rw-r--r--src/mainboard/lenovo/x201/acpi_tables.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/x201/acpi_tables.c b/src/mainboard/lenovo/x201/acpi_tables.c
index e412503c88..82991b267b 100644
--- a/src/mainboard/lenovo/x201/acpi_tables.c
+++ b/src/mainboard/lenovo/x201/acpi_tables.c
@@ -17,10 +17,15 @@
#include <stdint.h>
#include <southbridge/intel/ibexpeak/nvs.h>
+#include "thermal.h"
+
+static void acpi_update_thermal_table(global_nvs_t *gnvs)
+{
+ gnvs->tcrt = CRITICAL_TEMPERATURE;
+ gnvs->tpsv = PASSIVE_TEMPERATURE;
+}
void acpi_create_gnvs(global_nvs_t * gnvs)
{
- /* Set thermal levels */
- gnvs->tcrt = 100;
- gnvs->tpsv = 90;
+ acpi_update_thermal_table(gnvs);
}