From 2c956bbc19c5dec3b882db5ecc9a2074f3afb1e8 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Fri, 17 Dec 2004 21:08:16 +0000 Subject: non coherent ht chain setup automatically git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1824 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/amd/quartet/auto.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/mainboard/amd') diff --git a/src/mainboard/amd/quartet/auto.c b/src/mainboard/amd/quartet/auto.c index 748e0d72ea..5a6f195f75 100644 --- a/src/mainboard/amd/quartet/auto.c +++ b/src/mainboard/amd/quartet/auto.c @@ -208,15 +208,6 @@ static void main(unsigned long bist) } }; - static const struct ht_chain ht_c[] = { - { /* Link 2 of CPU0 */ - .devreg = 0xe0, /* Preset bus num in resource map */ - }, - { /* Link 1 of CPU1 */ - .devreg = 0xe4, /* Preset bus num in resource map */ - }, - }; - int needs_reset; if (bist == 0) { @@ -245,8 +236,11 @@ static void main(unsigned long bist) setup_quartet_resource_map(); needs_reset = setup_coherent_ht_domain(); -// needs_reset |= ht_setup_chain(PCI_DEV(0, 0x18, 0), 0x80); - needs_reset |= ht_setup_chains(ht_c, sizeof(ht_c)/sizeof(ht_c[0])); +#if 0 + needs_reset |= ht_setup_chains(2); +#else + needs_reset |= ht_setup_chains_x(); +#endif if (needs_reset) { print_info("ht reset -\r\n"); soft_reset(); -- cgit v1.2.3