summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-04-11 18:36:42 +0000
committerStefan Reinauer <stepan@openbios.org>2006-04-11 18:36:42 +0000
commitfbce0ffb92d8665c9cef5cb7be4d9fa6646bd7f2 (patch)
tree20341b6cc9e35d1254350ab49888ba51fceaa413 /src/northbridge/amd
parent4b8cf1d30ab195cfc59f777741c2d2126e12ec26 (diff)
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
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/amdk8/incoherent_ht.c6
1 files changed, 3 insertions, 3 deletions
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))) {