summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Smith <joe@settoplinux.org>2009-05-08 00:19:13 +0000
committerJoseph Smith <joe@smittys.pointclark.net>2009-05-08 00:19:13 +0000
commit06025df741a9c812040a0a80167a8b8f5da9962f (patch)
treec0c45cd1b3b1fe6e5a13b63c028cb83c974a8b3c /src
parent919b56e6ea23c0852ad39c09c06c5213d1210f34 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/thomson/ip1000/gpio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/thomson/ip1000/gpio.c b/src/mainboard/thomson/ip1000/gpio.c
index d51bc90e78..ae2cd8eabf 100644
--- a/src/mainboard/thomson/ip1000/gpio.c
+++ b/src/mainboard/thomson/ip1000/gpio.c
@@ -43,6 +43,9 @@ static void mb_gpio_init(void)
set_gpio |= 1 << 23;
outl(set_gpio, ICH_IO_BASE_ADDR + 0x0c);
+ /* Disable AC97 Modem */
+ pci_write_config8(dev, 0xf2, 0x40);
+
/* Super I/O GPIOs. */
dev = PME_DEV;
port = dev >> 8;