enable serial

Change-Id: I1956dc03b2129384a017fa52ac514965c91cb396
This commit is contained in:
Alexander Couzens 2017-08-02 06:27:45 +02:00
parent a94c884b23
commit dcae9d57ff
1 changed files with 4 additions and 0 deletions

View File

@ -13,9 +13,12 @@
#include "northbridge/intel/sandybridge/raminit_native.h"
#include "southbridge/intel/bd82x6x/pch.h"
#include <southbridge/intel/common/gpio.h>
#include <superio/serverengines/pilot/pilot.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#define SERIAL_DEV PNP_DEV(0x2e, PILOT_SP1)
void pch_enable_lpc(void)
{
pci_write_config16(PCI_DEV(0, 0x1f, 0), 0x82, 0x340a);
@ -57,6 +60,7 @@ void mainboard_early_init(int s3resume)
void mainboard_config_superio(void)
{
pilot_early_init(SERIAL_DEV); //config port is being taken from SERIAL_DEV
}
/* FIXME: Put proper SPD map here. */