blob: 666bba63e3c22c60c719f5552c1ae50071bc5704 [file] [log] [blame]
Arthur Heymansfbc508f2017-06-01 14:50:07 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#include <string.h>
18#include <stdint.h>
Elyes HAOUAS4ad14462018-06-16 18:29:33 +020019#include <southbridge/intel/i82801gx/nvs.h>
Arthur Heymansfbc508f2017-06-01 14:50:07 +020020
21void acpi_create_gnvs(global_nvs_t *gnvs)
22{
23 memset((void *)gnvs, 0, sizeof(*gnvs));
24
25 gnvs->pwrs = 1; /* Power state (AC = 1) */
26 gnvs->cmap = 0x01; /* Enable COM 1 port */
27}