summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-02-27 13:37:44 +0000
committerStefan Reinauer <stepan@openbios.org>2004-02-27 13:37:44 +0000
commitdd9651017a39bbe64ed7de8f91df7e51ce7b374d (patch)
tree10b6afa0f165e22c5408932e9a37c2f2f280af2e /src
parent3259784926c8282dbccdd9cdae43a3023718c80f (diff)
generalize code
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1379 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/amd/amdk8/coherent_ht.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdk8/coherent_ht.c b/src/northbridge/amd/amdk8/coherent_ht.c
index 83e8404e94..83fbd40beb 100644
--- a/src/northbridge/amd/amdk8/coherent_ht.c
+++ b/src/northbridge/amd/amdk8/coherent_ht.c
@@ -39,6 +39,10 @@
#define CONNECTION_0_2 UP
#endif
+#ifndef CONNECTION_1_0
+#define CONNECTION_1_0 ACROSS
+#endif
+
#ifndef CONNECTION_1_3
#define CONNECTION_1_3 UP
#endif
@@ -403,7 +407,7 @@ static u8 setup_smp(void)
}
/* We found 2 nodes so far */
- optimize_connection(0, ACROSS, 7, ACROSS);
+ optimize_connection(0, CONNECTION_0_1, 7, CONNECTION_1_0);
setup_node(0, cpus); /* Node 1 is there. Setup Node 0 correctly */
setup_remote_node(1, cpus); /* Setup the routes on the remote node */
rename_temp_node(1); /* Rename Node 7 to Node 1 */