payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / bostentech / gbyt4 / acpi_tables.c
blobdc0d7a2873b18ae3664e39fa77803460120f9eea
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>
8 void mainboard_fill_gnvs(struct global_nvs *gnvs)
10 /* Enable USB ports in S3 */
11 gnvs->s3u0 = 1;
12 gnvs->s3u1 = 1;
14 /* Disable USB ports in S5 */
15 gnvs->s5u0 = 0;
16 gnvs->s5u1 = 0;
18 /* TPM not present */
19 gnvs->tpmp = 0;
21 /* Disable DPTF */
22 gnvs->dpte = 0;
25 void mainboard_fill_fadt(acpi_fadt_t *fadt)
27 fadt->preferred_pm_profile = PM_DESKTOP;