1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <acpi/acpi_gnvs.h>
6 #include <soc/device_nvs.h>
8 void mainboard_fill_gnvs(struct global_nvs
*gnvs
)
10 /* Enable USB ports in S3 */
14 /* Disable USB ports in S5 */
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
;