AMD Rev F support
[coreboot.git] / src / northbridge / amd / amdk8 / coherent_ht.c
index d29831b74b362cb3da67e45fde8afc38c067354e..943d586bc3da9c0a7aec9efd0f3de7a377f9cdaa 100644 (file)
@@ -1642,6 +1642,10 @@ static unsigned count_cpus(unsigned nodes)
 #endif
                
 }
+static inline unsigned get_nodes(void)
+{
+        return ((pci_read_config32(PCI_DEV(0, 0x18, 0), 0x60)>>4) & 7) + 1;
+}
 
 static void coherent_ht_finalize(unsigned nodes)
 {