payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / google / auron / acpi_tables.c
blob501f54b4cf78158127ea96c362ee8dca07c1028e
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <acpi/acpi_gnvs.h>
5 #include <soc/acpi.h>
6 #include <soc/nvs.h>
7 #include <variant/thermal.h>
9 void mainboard_fill_gnvs(struct global_nvs *gnvs)
11 /* Enable USB ports in S3 */
12 gnvs->s3u0 = 1;
14 /* Disable USB ports in S5 */
15 gnvs->s5u0 = 0;
17 gnvs->tmps = CTL_TDP_SENSOR_ID;
18 gnvs->tcrt = CRITICAL_TEMPERATURE;
19 gnvs->tpsv = PASSIVE_TEMPERATURE;
20 gnvs->tmax = MAX_TEMPERATURE;
21 gnvs->flvl = 1;
24 void mainboard_fill_fadt(acpi_fadt_t *fadt)
26 fadt->preferred_pm_profile = PM_MOBILE;