diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-04-11 18:36:42 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-04-11 18:36:42 +0000 |
commit | fbce0ffb92d8665c9cef5cb7be4d9fa6646bd7f2 (patch) | |
tree | 20341b6cc9e35d1254350ab49888ba51fceaa413 /src | |
parent | 4b8cf1d30ab195cfc59f777741c2d2126e12ec26 (diff) | |
download | coreboot-fbce0ffb92d8665c9cef5cb7be4d9fa6646bd7f2.tar.xz |
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')
-rw-r--r-- | src/northbridge/amd/amdk8/incoherent_ht.c | 6 | ||||
-rw-r--r-- | src/southbridge/amd/amd8111/amd8111_pci.c | 3 |
2 files changed, 5 insertions, 4 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))) { diff --git a/src/southbridge/amd/amd8111/amd8111_pci.c b/src/southbridge/amd/amd8111/amd8111_pci.c index b9a9b3578d..6cedc1de94 100644 --- a/src/southbridge/amd/amd8111/amd8111_pci.c +++ b/src/southbridge/amd/amd8111/amd8111_pci.c @@ -23,7 +23,8 @@ static void pci_init(struct device *dev) dword |= (1<<17); /* System */ dword |= (1<<21); /* Master abort */ // dword &= ~(1<<21); /* Master abort */ - dword |= (1<<27); /* Discard timer */ +// dword |= (1<<27); /* Discard timer */ + dword &= ~(1<<27); /* Discard timer */ dword |= (1<<26); /* DTSTAT error clear */ pci_write_config32(dev, 0x3c, dword); |