Disable the AC97 modem via the ICH4 LPC disable function register early in the boot process.
Signed-off-by: Joseph Smith <joe@settoplinux.org> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4258 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
919b56e6ea
commit
06025df741
|
@ -43,6 +43,9 @@ static void mb_gpio_init(void)
|
||||||
set_gpio |= 1 << 23;
|
set_gpio |= 1 << 23;
|
||||||
outl(set_gpio, ICH_IO_BASE_ADDR + 0x0c);
|
outl(set_gpio, ICH_IO_BASE_ADDR + 0x0c);
|
||||||
|
|
||||||
|
/* Disable AC97 Modem */
|
||||||
|
pci_write_config8(dev, 0xf2, 0x40);
|
||||||
|
|
||||||
/* Super I/O GPIOs. */
|
/* Super I/O GPIOs. */
|
||||||
dev = PME_DEV;
|
dev = PME_DEV;
|
||||||
port = dev >> 8;
|
port = dev >> 8;
|
||||||
|
|
Loading…
Reference in New Issue