generalize code
authorStefan Reinauer <stepan@openbios.org>
Fri, 27 Feb 2004 13:37:44 +0000 (13:37 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 27 Feb 2004 13:37:44 +0000 (13:37 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1379 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/amd/amdk8/coherent_ht.c

index 83e8404e94123e8ea54d945ea108c75c0b891ce6..83fbd40bebf6dae680bc218ca289ca8ee63a1d33 100644 (file)
 #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  */