1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_gnvs.h>
4 #include <device/device.h>
9 void mainboard_fill_gnvs(struct global_nvs
*gnvs
)
12 * Disable 3G in suspend by default.
13 * Provide option to enable for http://crosbug.com/p/7925
17 gnvs
->f4of
= FAN4_THRESHOLD_OFF
;
18 gnvs
->f4on
= FAN4_THRESHOLD_ON
;
20 gnvs
->f3of
= FAN3_THRESHOLD_OFF
;
21 gnvs
->f3on
= FAN3_THRESHOLD_ON
;
23 gnvs
->f2of
= FAN2_THRESHOLD_OFF
;
24 gnvs
->f2on
= FAN2_THRESHOLD_ON
;
26 gnvs
->f1of
= FAN1_THRESHOLD_OFF
;
27 gnvs
->f1on
= FAN1_THRESHOLD_ON
;
29 gnvs
->f0of
= FAN0_THRESHOLD_OFF
;
30 gnvs
->f0on
= FAN0_THRESHOLD_ON
;
32 gnvs
->tcrt
= CRITICAL_TEMPERATURE
;
33 gnvs
->tpsv
= PASSIVE_TEMPERATURE
;
34 gnvs
->tmax
= MAX_TEMPERATURE
;