payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / strago / acpi_tables.c
blob279a5c1952316da6fe95dbf0c396f4d8e77f0089
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <acpi/acpi_gnvs.h>
5 #include <soc/nvs.h>
6 #include <soc/device_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 /* PMIC is configured in I2C1, hidden it from OS */
19 struct device_nvs *dev_nvs = acpi_get_device_nvs();
20 dev_nvs->lpss_en[LPSS_NVS_I2C2] = 0;
23 void mainboard_fill_fadt(acpi_fadt_t *fadt)
25 fadt->preferred_pm_profile = PM_MOBILE;