From f6f349828f077f0ee3213f5f3a851fb0ff9b9363 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Sat, 13 Nov 2004 03:47:52 +0000 Subject: [PATCH] - Allow coherent_ht.c to compile uniprocessor git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/coherent_ht.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/northbridge/amd/amdk8/coherent_ht.c b/src/northbridge/amd/amdk8/coherent_ht.c index 9152ea80a..cf0660cba 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)); -- 2.25.1