summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/amd/amdk8/coherent_ht.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/northbridge/amd/amdk8/coherent_ht.c b/src/northbridge/amd/amdk8/coherent_ht.c
index 9152ea80a5..cf0660cba9 100644
--- a/src/northbridge/amd/amdk8/coherent_ht.c
+++ b/src/northbridge/amd/amdk8/coherent_ht.c
@@ -142,6 +142,12 @@ static void enable_routing(u8 node)
print_spew(" done.\r\n");
}
+static void fill_row(u8 node, u8 row, u32 value)
+{
+ pci_write_config32(NODE_HT(node), 0x40+(row<<2), value);
+}
+
+
#if CONFIG_MAX_CPUS > 1
static void rename_temp_node(u8 node)
@@ -275,11 +281,6 @@ static int optimize_connection(device_t node1, uint8_t link1, device_t node2, ui
return needs_reset;
}
-static void fill_row(u8 node, u8 row, u32 value)
-{
- pci_write_config32(NODE_HT(node), 0x40+(row<<2), value);
-}
-
static void setup_row(u8 source, u8 dest, u8 nodes)
{
fill_row(source,dest,generate_row(source,dest,nodes));