Disable the AC97 modem via the ICH4 LPC disable function register early in the boot...
authorJoseph Smith <joe@settoplinux.org>
Fri, 8 May 2009 00:19:13 +0000 (00:19 +0000)
committerJoseph Smith <joe@smittys.pointclark.net>
Fri, 8 May 2009 00:19:13 +0000 (00:19 +0000)
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

src/mainboard/thomson/ip1000/gpio.c

index d51bc90e789977670b8a551b1f70b9e461d32ac1..ae2cd8eabfc68a4742d793d71d730ccb40d05f8b 100644 (file)
@@ -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;