summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/bolt/thermal.h2
-rw-r--r--src/mainboard/google/falco/acpi_tables.c1
-rw-r--r--src/mainboard/google/falco/thermal.h2
-rw-r--r--src/mainboard/google/peppy/thermal.h2
-rw-r--r--src/mainboard/google/slippy/thermal.h2
5 files changed, 6 insertions, 3 deletions
diff --git a/src/mainboard/google/bolt/thermal.h b/src/mainboard/google/bolt/thermal.h
index fceaeca6b9..eeedf2551d 100644
--- a/src/mainboard/google/bolt/thermal.h
+++ b/src/mainboard/google/bolt/thermal.h
@@ -21,7 +21,7 @@
#define THERMAL_H
/* Config TDP Sensor ID */
-#define CTDP_SENSOR_ID 1 /* PECI */
+#define CTDP_SENSOR_ID 0 /* PECI */
/* Config TDP Nominal */
#define CTDP_NOMINAL_THRESHOLD_OFF 0
diff --git a/src/mainboard/google/falco/acpi_tables.c b/src/mainboard/google/falco/acpi_tables.c
index b5045601e4..34c4407628 100644
--- a/src/mainboard/google/falco/acpi_tables.c
+++ b/src/mainboard/google/falco/acpi_tables.c
@@ -44,6 +44,7 @@ unsigned long acpi_create_slic(unsigned long current);
static void acpi_update_thermal_table(global_nvs_t *gnvs)
{
+ gnvs->tmps = TEMPERATURE_SENSOR_ID;
gnvs->tcrt = CRITICAL_TEMPERATURE;
gnvs->tpsv = PASSIVE_TEMPERATURE;
gnvs->tmax = MAX_TEMPERATURE;
diff --git a/src/mainboard/google/falco/thermal.h b/src/mainboard/google/falco/thermal.h
index 0ae3edb23f..cfda67d66c 100644
--- a/src/mainboard/google/falco/thermal.h
+++ b/src/mainboard/google/falco/thermal.h
@@ -20,6 +20,8 @@
#ifndef THERMAL_H
#define THERMAL_H
+#define TEMPERATURE_SENSOR_ID 0 /* PECI */
+
/* Temperature which OS will shutdown at */
#define CRITICAL_TEMPERATURE 104
diff --git a/src/mainboard/google/peppy/thermal.h b/src/mainboard/google/peppy/thermal.h
index a038502038..74ec0b54cc 100644
--- a/src/mainboard/google/peppy/thermal.h
+++ b/src/mainboard/google/peppy/thermal.h
@@ -21,7 +21,7 @@
#define THERMAL_H
/* Control TDP Settings */
-#define CTL_TDP_SENSOR_ID 1 /* PECI */
+#define CTL_TDP_SENSOR_ID 0 /* PECI */
#define CTL_TDP_POWER_LIMIT 12 /* 12W */
#define CTL_TDP_THRESHOLD_OFF 68 /* Normal at 68C */
#define CTL_TDP_THRESHOLD_ON 73 /* Limited at 73C */
diff --git a/src/mainboard/google/slippy/thermal.h b/src/mainboard/google/slippy/thermal.h
index fceaeca6b9..eeedf2551d 100644
--- a/src/mainboard/google/slippy/thermal.h
+++ b/src/mainboard/google/slippy/thermal.h
@@ -21,7 +21,7 @@
#define THERMAL_H
/* Config TDP Sensor ID */
-#define CTDP_SENSOR_ID 1 /* PECI */
+#define CTDP_SENSOR_ID 0 /* PECI */
/* Config TDP Nominal */
#define CTDP_NOMINAL_THRESHOLD_OFF 0