aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/acpi_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rambi/acpi_tables.c')
-rw-r--r--src/mainboard/google/rambi/acpi_tables.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/rambi/acpi_tables.c b/src/mainboard/google/rambi/acpi_tables.c
index a4754f1df6..1d96decdcc 100644
--- a/src/mainboard/google/rambi/acpi_tables.c
+++ b/src/mainboard/google/rambi/acpi_tables.c
@@ -36,6 +36,8 @@
#include <baytrail/nvs.h>
#include <baytrail/iomap.h>
+#include "thermal.h"
+
extern const unsigned char AmlCode[];
static void acpi_create_gnvs(global_nvs_t *gnvs)
@@ -59,6 +61,12 @@ static void acpi_create_gnvs(global_nvs_t *gnvs)
/* TPM Present */
gnvs->tpmp = 1;
+ /* Enable DPTF */
+ gnvs->tcrt = CRITICAL_TEMPERATURE;
+ gnvs->tpsv = PASSIVE_TEMPERATURE;
+ gnvs->tact = ACTIVE_TEMPERATURE;
+ gnvs->dpte = 1;
+
#if CONFIG_CHROMEOS
chromeos_init_vboot(&(gnvs->chromeos));
gnvs->chromeos.vbt2 = google_ec_running_ro() ?