Tobias Diedrich | cee930a | 2017-02-12 14:09:06 +0100 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * |
| 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. |
| 9 | * |
| 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. |
| 14 | */ |
| 15 | |
| 16 | #include <southbridge/intel/bd82x6x/nvs.h> |
| 17 | |
| 18 | void acpi_create_gnvs(global_nvs_t *gnvs) |
| 19 | { |
| 20 | /* Disable USB ports in S3 by default */ |
| 21 | gnvs->s3u0 = 0; |
| 22 | gnvs->s3u1 = 0; |
| 23 | |
| 24 | /* Disable USB ports in S5 by default */ |
| 25 | gnvs->s5u0 = 0; |
| 26 | gnvs->s5u1 = 0; |
| 27 | |
| 28 | /* The LID is open by default */ |
| 29 | gnvs->lids = 1; |
| 30 | |
| 31 | gnvs->tcrt = 100; |
| 32 | gnvs->tpsv = 90; |
| 33 | } |