aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t430/acpi_tables.c
blob: 43c73025f26ffba6bea91af2813c6ba3d995bd63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */

#include <acpi/acpi_gnvs.h>
#include <soc/nvs.h>

void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
	/* The lid is open by default */
	gnvs->lids = 1;

	/* Config TDP Down */
	gnvs->f0of = 80;
	gnvs->f0on = 90;

	/* Temperature at which OS will shutdown */
	gnvs->tcrt = 100;
	/* Temperature at which OS will throttle CPU */
	gnvs->tpsv = 90;
	/* Tj_max value for calculating PECI CPU temperature */
	gnvs->tmax = 105;
}