payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / google / stout / acpi_tables.c
blob0d5f06fd1712cb2bb6987b5b2e0d6180811552f8
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_gnvs.h>
4 #include "onboard.h"
6 #include <southbridge/intel/bd82x6x/pch.h>
7 #include <soc/nvs.h>
8 #include "thermal.h"
10 void mainboard_fill_gnvs(struct global_nvs *gnvs)
12 /* Disable USB ports in S3 by default */
13 gnvs->s3u0 = 0;
14 gnvs->s3u1 = 0;
16 /* Disable USB ports in S5 by default */
17 gnvs->s5u0 = 0;
18 gnvs->s5u1 = 0;
20 /* EC handles all thermal and fan control on Stout. */
21 gnvs->tcrt = CRITICAL_TEMPERATURE;
22 gnvs->tpsv = PASSIVE_TEMPERATURE;
23 gnvs->tmax = MAX_TEMPERATURE;
25 // the lid is open by default.
26 gnvs->lids = 1;
28 /* XHCI Mode */
29 gnvs->xhci = XHCI_MODE;