mb/google/brya/var/omnigul: Modify NVMe and UFS Storage support
[coreboot.git] / src / mainboard / google / jecht / acpi_tables.c
blob189f7f44debf8c73b80a948db18d4f80e82daf07
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 <variant/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->tmps = TEMPERATURE_SENSOR_ID;
19 gnvs->tcrt = CRITICAL_TEMPERATURE;
20 gnvs->tpsv = PASSIVE_TEMPERATURE;
21 gnvs->tmax = MAX_TEMPERATURE;
22 gnvs->flvl = 1;
25 void mainboard_fill_fadt(acpi_fadt_t *fadt)
27 fadt->preferred_pm_profile = PM_MOBILE;