1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <acpi/acpi_gnvs.h>
5 #include <device/device.h>
8 #include <variant/thermal.h>
10 void mainboard_fill_gnvs(struct global_nvs
*gnvs
)
12 /* Enable USB ports in S3 */
15 /* Disable USB ports in S5 */
18 gnvs
->tmps
= TEMPERATURE_SENSOR_ID
;
19 gnvs
->tcrt
= CRITICAL_TEMPERATURE
;
20 gnvs
->tpsv
= PASSIVE_TEMPERATURE
;
21 gnvs
->tmax
= MAX_TEMPERATURE
;
25 void mainboard_fill_fadt(acpi_fadt_t
*fadt
)
27 fadt
->preferred_pm_profile
= PM_MOBILE
;