projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMD Rev F support
[coreboot.git]
/
src
/
northbridge
/
amd
/
amdk8
/
coherent_ht.c
diff --git
a/src/northbridge/amd/amdk8/coherent_ht.c
b/src/northbridge/amd/amdk8/coherent_ht.c
index d29831b74b362cb3da67e45fde8afc38c067354e..943d586bc3da9c0a7aec9efd0f3de7a377f9cdaa 100644
(file)
--- a/
src/northbridge/amd/amdk8/coherent_ht.c
+++ b/
src/northbridge/amd/amdk8/coherent_ht.c
@@
-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)
{