On Thu, 07 May 2009 02:01:18 -0400, Joseph Smith <[email protected]>
wrote:
> 
> This patch disables the AC97 modem via the ICH4 LPC disable function
> register early in the boot process. Leaving it enabled was causing
> resource
> allocation problems, making IO read/writes under 0x200 fail. As I found
> out
> by trail and error it has to be done right after the LAN Enable gpio pin
> is
> driven high.
> 
> Tested on hardware.
> Signed-off-by: Joseph Smith <[email protected]>
> 
oops patch attached...
-- 
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org
Index: src/mainboard/thomson/ip1000/gpio.c
===================================================================
--- src/mainboard/thomson/ip1000/gpio.c	(revision 4257)
+++ src/mainboard/thomson/ip1000/gpio.c	(working copy)
@@ -43,6 +43,9 @@
 	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;
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to