aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/falco/acpi_tables.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-07-15 09:17:09 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-12-21 07:28:30 +0100
commit29f76884092dbd8de492437e9656e48671a12530 (patch)
treee5612ec1c813d8234964fdcd5756807e07592f84 /src/mainboard/google/falco/acpi_tables.c
parenta9dc05130e1a13cb9f6bf55f46071f4977029273 (diff)
haswell boards: Use PECI temp sensor id 0
The EC temperature sensors were renumbered and now PECI is at index 0. 1) boot on falco 2) check /sys/class/thermal/thermal_zone0/temp 3) check 'temps' on ec console Change-Id: Idde1457c42c80850b5b8ac22781060ed9b224d13 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/61896 Reviewed-on: http://review.coreboot.org/4367 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google/falco/acpi_tables.c')
-rw-r--r--src/mainboard/google/falco/acpi_tables.c1
1 files changed, 1 insertions, 0 deletions
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;