2008-10-29 05:52:57 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
2010-04-27 08:56:47 +02:00
|
|
|
*
|
2009-07-21 23:58:20 +02:00
|
|
|
* Copyright (C) 2007-2009 coresystems GmbH
|
2008-10-29 05:52:57 +01:00
|
|
|
*
|
2010-03-01 18:19:55 +01:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
2008-10-29 05:52:57 +01:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
2009-07-21 23:58:20 +02:00
|
|
|
#include <types.h>
|
2008-10-29 05:52:57 +01:00
|
|
|
#include <string.h>
|
|
|
|
#include <console/console.h>
|
|
|
|
#include <arch/acpi.h>
|
2010-10-12 19:34:08 +02:00
|
|
|
#include <arch/ioapic.h>
|
2009-07-21 23:58:20 +02:00
|
|
|
#include <arch/acpigen.h>
|
|
|
|
#include <arch/smp/mpspec.h>
|
2008-10-29 05:52:57 +01:00
|
|
|
#include <device/device.h>
|
|
|
|
#include <device/pci.h>
|
|
|
|
#include <device/pci_ids.h>
|
2009-07-21 23:58:20 +02:00
|
|
|
#include <cpu/x86/msr.h>
|
2008-10-29 05:52:57 +01:00
|
|
|
|
2010-12-08 06:42:47 +01:00
|
|
|
#include "southbridge/intel/i82801gx/nvs.h"
|
2014-08-31 00:27:05 +02:00
|
|
|
void acpi_create_gnvs(global_nvs_t *gnvs)
|
2008-10-29 05:52:57 +01:00
|
|
|
{
|
2009-10-26 18:12:21 +01:00
|
|
|
/* Enable both COM ports */
|
|
|
|
gnvs->cmap = 0x01;
|
|
|
|
gnvs->cmbp = 0x01;
|
|
|
|
|
2008-10-29 05:52:57 +01:00
|
|
|
}
|