diff options
author | Anish K. Patel <anishp@win-ent.com> | 2010-02-24 16:36:56 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-02-24 16:36:56 +0000 |
commit | 3a54ac9c362d2e5900edd7e1c459ffea1e29df64 (patch) | |
tree | d761fa9e3491579e81ba98a488cb73703c6fd476 /src/superio | |
parent | c9fa96d04c85430c7397473b2995f8f4913beb9c (diff) | |
download | coreboot-3a54ac9c362d2e5900edd7e1c459ffea1e29df64.tar.xz |
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
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/winbond/w83627hf/superio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c index 8bcc815bab..1d9b31c928 100644 --- a/src/superio/winbond/w83627hf/superio.c +++ b/src/superio/winbond/w83627hf/superio.c @@ -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 */ |