[LinuxBIOS] AMD64 serial setup
Stefan Reinauer
stepan at coresystems.de
Tue Mar 7 22:55:00 CET 2006
* Lu, Yinghai <yinghai.lu at amd.com> [060307 20:02]:
> can you do that on amd8111_lpc.c?
it belongs to amd8111_acpi.c, nor?
> pci_write_config8(PCI_DEV(0, 0x04, 3), 0x4a, 0x50);
I propose the following generic patch. (attachment)
Stefan
--
coresystems GmbH · Brahmsstr. 16 · D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 · Fax: +49 761 7664613
Email: info at coresystems.de · http://www.coresystems.de/
-------------- next part --------------
Index: src/southbridge/amd/amd8111/amd8111_acpi.c
===================================================================
--- src/southbridge/amd/amd8111/amd8111_acpi.c (revision 2191)
+++ src/southbridge/amd/amd8111/amd8111_acpi.c (working copy)
@@ -122,6 +122,12 @@
pci_write_config8(dev, PREVIOUS_POWER_STATE, byte);
printk_info("set power %s after power fail\n", on?"on":"off");
+ /* switch serial irq logic from quiet mode to continuous
+ * mode for Winbond W83627HF Rev. 17
+ */
+ byte = pci_read_config8(dev, 0x4a);
+ pci_write_config8(dev, 0x4a, byte | (1<<6));
+
/* Throttle the CPU speed down for testing */
on = SLOW_CPU_OFF;
get_option(&on, "slow_cpu");
More information about the coreboot
mailing list