Noah Glovsky | cc93ce7 | 2016-04-19 15:43:17 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 2 of the License. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
Vladimir Serbinenko | 55f3e2f | 2015-05-29 22:07:29 +0200 | [diff] [blame] | 14 | #include <southbridge/intel/bd82x6x/nvs.h> |
| 15 | |
Vladimir Serbinenko | 55f3e2f | 2015-05-29 22:07:29 +0200 | [diff] [blame] | 16 | void acpi_create_gnvs(global_nvs_t *gnvs) |
| 17 | { |
| 18 | /* Disable USB ports in S3 by default */ |
| 19 | gnvs->s3u0 = 0; |
| 20 | gnvs->s3u1 = 0; |
| 21 | |
| 22 | /* Disable USB ports in S5 by default */ |
| 23 | gnvs->s5u0 = 0; |
| 24 | gnvs->s5u1 = 0; |
| 25 | |
Elyes HAOUAS | 571fb1f | 2016-10-07 12:46:28 +0200 | [diff] [blame] | 26 | /* the lid is open by default. */ |
Vladimir Serbinenko | 55f3e2f | 2015-05-29 22:07:29 +0200 | [diff] [blame] | 27 | gnvs->lids = 1; |
| 28 | |
| 29 | gnvs->tcrt = 100; |
| 30 | gnvs->tpsv = 90; |
| 31 | } |