diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-11-13 03:47:52 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-11-13 03:47:52 +0000 |
commit | f6f349828f077f0ee3213f5f3a851fb0ff9b9363 (patch) | |
tree | 26d907bb76a1fa4ebc1fab8961f6452d3eb6c9c6 | |
parent | 3e9b52d554f40b0743cc420dc133b5b5ffd964bd (diff) | |
download | coreboot-f6f349828f077f0ee3213f5f3a851fb0ff9b9363.tar.xz |
- Allow coherent_ht.c to compile uniprocessor
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/northbridge/amd/amdk8/coherent_ht.c | 11 |
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)); |