- Allow coherent_ht.c to compile uniprocessor

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman 2004-11-13 03:47:52 +00:00
parent 3e9b52d554
commit f6f349828f
1 changed files with 6 additions and 5 deletions

View File

@ -142,6 +142,12 @@ static void enable_routing(u8 node)
print_spew(" done.\r\n"); 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 #if CONFIG_MAX_CPUS > 1
static void rename_temp_node(u8 node) 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; 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) static void setup_row(u8 source, u8 dest, u8 nodes)
{ {
fill_row(source,dest,generate_row(source,dest,nodes)); fill_row(source,dest,generate_row(source,dest,nodes));