Add Win Enterprises' PL6064 board

Signed-off-by: Anish K. Patel <anishp@win-ent.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5158 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Anish K. Patel
2010-02-24 16:36:56 +00:00
committed by Patrick Georgi
parent c9fa96d04c
commit 3a54ac9c36
11 changed files with 535 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
* Copyright (C) 2000 AG Electronics Ltd.
* Copyright (C) 2003-2004 Linux Networx
* Copyright (C) 2004 Tyan By LYH change from PC87360
* Copyright (C) 2010 Win Enterprises (anishp@win-ent.com)
*
* 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
@@ -56,6 +57,16 @@ static uint8_t pnp_read_index(unsigned long port_base, uint8_t reg)
return inb(port_base + 1);
}
static void w83627hf_16_bit_addr_qual(device_t dev)
{
int port = dev->path.pnp.port >> 8;
pnp_enter_ext_func_mode(dev);
outb(0x24, port);
/* enable 16 bit address qualification */
outb(inb(port + 1) | 0x80, port + 1);
pnp_exit_ext_func_mode(dev);
}
static void enable_hwm_smbus(device_t dev)
{
/* set the pin 91,92 as I2C bus */