• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <acpi/acpi_gnvs.h>
4 #include "onboard.h"
5 
6 #include <southbridge/intel/bd82x6x/pch.h>
7 #include <soc/nvs.h>
8 #include "thermal.h"
9 
mainboard_fill_gnvs(struct global_nvs * gnvs)10 void mainboard_fill_gnvs(struct global_nvs *gnvs)
11 {
12 	/* EC handles all thermal and fan control on Stout. */
13 	gnvs->tcrt = CRITICAL_TEMPERATURE;
14 	gnvs->tpsv = PASSIVE_TEMPERATURE;
15 	gnvs->tmax = MAX_TEMPERATURE;
16 
17 	// the lid is open by default.
18 	gnvs->lids = 1;
19 
20 	/* XHCI Mode */
21 	gnvs->xhci = XHCI_MODE;
22 }
23