summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2004-12-17 21:08:16 +0000
committerYinghai Lu <yinghailu@gmail.com>2004-12-17 21:08:16 +0000
commit2c956bbc19c5dec3b882db5ecc9a2074f3afb1e8 (patch)
treeb876b0dda67b3b6f9502184f49b45fb67a460577 /src/mainboard/amd
parent20bd731b75cbdb4f2045146ecc92073b368ae402 (diff)
downloadcoreboot-2c956bbc19c5dec3b882db5ecc9a2074f3afb1e8.tar.xz
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/amd')
-rw-r--r--src/mainboard/amd/quartet/auto.c16
1 files changed, 5 insertions, 11 deletions
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();