From dd9651017a39bbe64ed7de8f91df7e51ce7b374d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 27 Feb 2004 13:37:44 +0000 Subject: generalize code git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1379 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/coherent_ht.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3