payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / wtm2 / acpi_tables.c
blobc6d4ce8a7bf17bb72f3c671d9a1fd38e5b77f9c8
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <acpi/acpi_gnvs.h>
5 #include <device/device.h>
6 #include <soc/acpi.h>
7 #include <soc/nvs.h>
8 #include "thermal.h"
10 void mainboard_fill_gnvs(struct global_nvs *gnvs)
12 /* Enable USB ports in S3 */
13 gnvs->s3u0 = 1;
15 /* Disable USB ports in S5 */
16 gnvs->s5u0 = 0;
18 gnvs->tcrt = CRITICAL_TEMPERATURE;
19 gnvs->tpsv = PASSIVE_TEMPERATURE;
20 gnvs->tmax = MAX_TEMPERATURE;
23 void mainboard_fill_fadt(acpi_fadt_t *fadt)
25 fadt->preferred_pm_profile = PM_MOBILE;