aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdk8/amdk8.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-19 15:13:05 +0200
committerMartin Roth <martinroth@google.com>2017-04-28 17:20:51 +0200
commitf9f91a70b913e36347d38ce02d17c1e715f39669 (patch)
tree790e44600e71bd033187bbadeb4dde9370c804a2 /src/northbridge/amd/amdk8/amdk8.h
parent8621a135d40c93445684f7b1e9c77d9aee392978 (diff)
nb/amdk8: Link coherent_ht.c
Change-Id: I1ef1323dc1f3005ed194ad82b75c87ef41864217 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19367 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/amdk8/amdk8.h')
-rw-r--r--src/northbridge/amd/amdk8/amdk8.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/amdk8.h b/src/northbridge/amd/amdk8/amdk8.h
index bc03b4cfd7..e335a984f7 100644
--- a/src/northbridge/amd/amdk8/amdk8.h
+++ b/src/northbridge/amd/amdk8/amdk8.h
@@ -15,10 +15,22 @@
#define HTIC_BIOSR_Detect (1<<5)
#define HTIC_INIT_Detect (1<<6)
+#define NODE_HT(x) PCI_DEV(0,24+x,0)
+#define NODE_MP(x) PCI_DEV(0,24+x,1)
+#define NODE_MC(x) PCI_DEV(0,24+x,3)
+
+
#ifdef __PRE_RAM__
void showallroutes(int level, pci_devfn_t dev);
void setup_resource_map_offset(const unsigned int *register_values, int max, unsigned offset_pci_dev, unsigned offset_io_base);
void fill_mem_ctrl(int controllers, struct mem_controller *ctrl_a, const uint16_t *spd_addr);
+int optimize_link_coherent_ht(void);
+unsigned int get_nodes(void);
+#if CONFIG_RAMINIT_SYSINFO
+void setup_coherent_ht_domain(void);
+#else
+int setup_coherent_ht_domain(void);
+#endif
#endif
void set_bios_reset(void);