1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <acpi/acpi_gnvs.h>
7 #include <variant/thermal.h>
9 void mainboard_fill_gnvs(struct global_nvs
*gnvs
)
11 /* Enable USB ports in S3 */
14 /* Disable USB ports in S5 */
17 gnvs
->tmps
= CTL_TDP_SENSOR_ID
;
18 gnvs
->tcrt
= CRITICAL_TEMPERATURE
;
19 gnvs
->tpsv
= PASSIVE_TEMPERATURE
;
20 gnvs
->tmax
= MAX_TEMPERATURE
;
24 void mainboard_fill_fadt(acpi_fadt_t
*fadt
)
26 fadt
->preferred_pm_profile
= PM_MOBILE
;