1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_gnvs.h>
7 void mainboard_fill_gnvs(struct global_nvs
*gnvs
)
9 gnvs
->tmps
= CTDP_SENSOR_ID
;
11 gnvs
->f1of
= CTDP_NOMINAL_THRESHOLD_OFF
;
12 gnvs
->f1on
= CTDP_NOMINAL_THRESHOLD_ON
;
14 gnvs
->f0of
= CTDP_DOWN_THRESHOLD_OFF
;
15 gnvs
->f0on
= CTDP_DOWN_THRESHOLD_ON
;
17 gnvs
->tcrt
= CRITICAL_TEMPERATURE
;
18 gnvs
->tpsv
= PASSIVE_TEMPERATURE
;
19 gnvs
->tmax
= MAX_TEMPERATURE
;
22 // the lid is open by default.