summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-10-21 21:42:17 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-12-27 09:09:02 +0000
commit6c2c018e15a1c4d3ae394333263e6c7c3eb30415 (patch)
tree832792ac36f7b5ce890e001fee96639cbbecd6c3 /src/mainboard/google/slippy
parent1fe7dcb047d157de79acafedaab0fe98408aeafc (diff)
downloadcoreboot-6c2c018e15a1c4d3ae394333263e6c7c3eb30415.tar.xz
mb/*/*/acpi_tables: Remove unnecessary function call
Remove acpi_update_thermal_table local function. Change-Id: I4857348088feb8eaf1dd7f553c4efb29da8943cf Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36212 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/slippy')
-rw-r--r--src/mainboard/google/slippy/acpi_tables.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/mainboard/google/slippy/acpi_tables.c b/src/mainboard/google/slippy/acpi_tables.c
index 5838823ddd..d7a8cbbdb6 100644
--- a/src/mainboard/google/slippy/acpi_tables.c
+++ b/src/mainboard/google/slippy/acpi_tables.c
@@ -24,16 +24,6 @@
#include "thermal.h"
-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;
- gnvs->f0pw = EC_THROTTLE_POWER_LIMIT;
- gnvs->flvl = 1;
-}
-
void acpi_create_gnvs(global_nvs_t *gnvs)
{
/* Enable USB ports in S3 */
@@ -53,5 +43,10 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
ACTIVE_ECFW_RO : ACTIVE_ECFW_RW;
#endif
- acpi_update_thermal_table(gnvs);
+ gnvs->tmps = TEMPERATURE_SENSOR_ID;
+ gnvs->tcrt = CRITICAL_TEMPERATURE;
+ gnvs->tpsv = PASSIVE_TEMPERATURE;
+ gnvs->tmax = MAX_TEMPERATURE;
+ gnvs->f0pw = EC_THROTTLE_POWER_LIMIT;
+ gnvs->flvl = 1;
}