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:
Joseph Smith 2009-05-08 00:19:13 +00:00 committed by Joseph Smith
parent 919b56e6ea
commit 06025df741
1 changed files with 3 additions and 0 deletions

View File

@ -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;