From fbce0ffb92d8665c9cef5cb7be4d9fa6646bd7f2 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 11 Apr 2006 18:36:42 +0000 Subject: small fixes to get Ward Vandewege's Tyan board booting. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2251 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/incoherent_ht.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdk8/incoherent_ht.c b/src/northbridge/amd/amdk8/incoherent_ht.c index c04781f2c0..b07c62a5dc 100644 --- a/src/northbridge/amd/amdk8/incoherent_ht.c +++ b/src/northbridge/amd/amdk8/incoherent_ht.c @@ -275,12 +275,12 @@ static int ht_optimize_link( static void ht_setup_chainx(device_t udev, uint8_t upos, uint8_t bus, unsigned offset_unitid, struct sys_info *sysinfo); -static int scan_pci_bus( unsigned bus , struct sys_info *sysinfo) +static int scan_pci_bus(unsigned bus, struct sys_info *sysinfo) #else static int ht_setup_chainx(device_t udev, uint8_t upos, uint8_t bus, unsigned offset_unitid); -static int scan_pci_bus( unsigned bus) +static int scan_pci_bus(unsigned bus) #endif { /* Here we already can access PCI_DEV(bus, 0, 0) to @@ -467,7 +467,7 @@ static int ht_setup_chainx(device_t udev, uint8_t upos, uint8_t bus, unsigned of * retrain, so lets knock it down and see * if its transient */ - ctrl |= ((1 << 6) | (1 <<8)); // Link fail + Crc + ctrl |= ((1 << 4) | (1 <<8)); // Link fail + Crc pci_write_config16(udev, upos + LINK_CTRL(uoffs), ctrl); ctrl = pci_read_config16(udev, upos + LINK_CTRL(uoffs)); if (ctrl & ((1 << 4) | (1 << 8))) { -- cgit v1.2.3