aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/butterfly/acpi_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/butterfly/acpi_tables.c')
-rw-r--r--src/mainboard/google/butterfly/acpi_tables.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mainboard/google/butterfly/acpi_tables.c b/src/mainboard/google/butterfly/acpi_tables.c
index 93455260c0..5ab22e1fd5 100644
--- a/src/mainboard/google/butterfly/acpi_tables.c
+++ b/src/mainboard/google/butterfly/acpi_tables.c
@@ -18,13 +18,6 @@
#include <vendorcode/google/chromeos/gnvs.h>
#include "thermal.h"
-static void acpi_update_thermal_table(global_nvs_t *gnvs)
-{
- /* EC handles all thermal and fan control on Butterfly. */
- gnvs->tcrt = CRITICAL_TEMPERATURE;
- gnvs->tpsv = PASSIVE_TEMPERATURE;
-}
-
void acpi_create_gnvs(global_nvs_t *gnvs)
{
/* Disable USB ports in S3 by default */
@@ -45,6 +38,8 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
// the lid is open by default.
gnvs->lids = 1;
- acpi_update_thermal_table(gnvs);
+ /* EC handles all thermal and fan control on Butterfly. */
+ gnvs->tcrt = CRITICAL_TEMPERATURE;
+ gnvs->tpsv = PASSIVE_TEMPERATURE;
}