* Add a new board, the BCom WinNET P680
* Add a function to change the 24/48Mhz clock input selector on the Winbond W83697 superio to 48Mhz, used by the WinNET P680 Signed-off-by: Alex Mauer <hawke@hawkesnest.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3661 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -35,6 +35,16 @@ static void pnp_exit_ext_func_mode(device_t dev)
|
||||
outb(0xaa, port);
|
||||
}
|
||||
|
||||
static void w83697hf_set_clksel_48(device_t dev)
|
||||
{
|
||||
u16 port = dev >> 8;
|
||||
pnp_enter_ext_func_mode(dev);
|
||||
outb(0x24, port);
|
||||
/* Set the clock input to 48Mhz */
|
||||
outb(inb(port+1)|0x40, port+1);
|
||||
pnp_exit_ext_func_mode(dev);
|
||||
}
|
||||
|
||||
static void w83697hf_enable_serial(device_t dev, u16 iobase)
|
||||
{
|
||||
pnp_enter_ext_func_mode(dev);
|
||||
|
Reference in New Issue
Block a user