diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2004-12-17 21:08:16 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2004-12-17 21:08:16 +0000 |
commit | 2c956bbc19c5dec3b882db5ecc9a2074f3afb1e8 (patch) | |
tree | b876b0dda67b3b6f9502184f49b45fb67a460577 /src/mainboard/tyan/s2885 | |
parent | 20bd731b75cbdb4f2045146ecc92073b368ae402 (diff) |
non coherent ht chain setup automatically
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1824 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s2885')
-rw-r--r-- | src/mainboard/tyan/s2885/auto.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mainboard/tyan/s2885/auto.c b/src/mainboard/tyan/s2885/auto.c index 673a6bc62a..723a6ec377 100644 --- a/src/mainboard/tyan/s2885/auto.c +++ b/src/mainboard/tyan/s2885/auto.c @@ -177,17 +177,6 @@ static void main(unsigned long bist) #endif }; -#if 1 - static const struct ht_chain ht_c[] = { - { /* Link 2 of CPU0 */ - .devreg = 0xe0, /* Preset bus num in resource map */ - }, - { /* Link 0 of CPU0 */ - .devreg = 0xe4, /* Preset bus num in resource map */ - }, - }; -#endif - int needs_reset; if (bist == 0) { /* Skip this if there was a built in self test failure */ @@ -228,9 +217,9 @@ static void main(unsigned long bist) setup_s2885_resource_map(); needs_reset = setup_coherent_ht_domain(); #if 0 - needs_reset |= ht_setup_chain(PCI_DEV(0, 0x18, 0), 0xc0); + needs_reset |= ht_setup_chains(2); #else - needs_reset |= ht_setup_chains(ht_c, sizeof(ht_c)/sizeof(ht_c[0])); + needs_reset |= ht_setup_chains_x(); #endif if (needs_reset) { print_info("ht reset -\r\n"); |