mb/*/*/acpi_tables: Remove unnecessary function call
[coreboot.git] / src / mainboard / google / link / acpi_tables.c
blob891151a4cb857954e74e8f9ad5993724cbf38b64
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #include <stdint.h>
17 #include <southbridge/intel/bd82x6x/nvs.h>
18 #include <ec/google/chromeec/ec.h>
19 #include <vendorcode/google/chromeos/gnvs.h>
20 #include "thermal.h"
22 void acpi_create_gnvs(global_nvs_t *gnvs)
24 /* Disable USB ports in S3 by default */
25 gnvs->s3u0 = 0;
26 gnvs->s3u1 = 0;
28 /* Disable USB ports in S5 by default */
29 gnvs->s5u0 = 0;
30 gnvs->s5u1 = 0;
32 #if CONFIG(CHROMEOS)
33 gnvs->chromeos.vbt2 = google_ec_running_ro() ?
34 ACTIVE_ECFW_RO : ACTIVE_ECFW_RW;
35 #endif
37 gnvs->tmps = CTDP_SENSOR_ID;
39 gnvs->f1of = CTDP_NOMINAL_THRESHOLD_OFF;
40 gnvs->f1on = CTDP_NOMINAL_THRESHOLD_ON;
42 gnvs->f0of = CTDP_DOWN_THRESHOLD_OFF;
43 gnvs->f0on = CTDP_DOWN_THRESHOLD_ON;
45 gnvs->tcrt = CRITICAL_TEMPERATURE;
46 gnvs->tpsv = PASSIVE_TEMPERATURE;
47 gnvs->tmax = MAX_TEMPERATURE;
48 gnvs->flvl = 1;
50 // the lid is open by default.
51 gnvs->lids = 1;