summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdk8/amdk8.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-19 12:52:43 +0200
committerMartin Roth <martinroth@google.com>2017-04-28 17:17:40 +0200
commit3eff00ec76f91f5dc9ddf39e2e6073f6053c94a1 (patch)
tree02d2f86e299d53c68cf1c774e6f176d8831ee195 /src/northbridge/amd/amdk8/amdk8.h
parent00f360e3f1411925e56676bc4b2ec1b961dcde25 (diff)
downloadcoreboot-3eff00ec76f91f5dc9ddf39e2e6073f6053c94a1.tar.xz
nb/amd/amdk8: Link reset_test.c
This needs some extra headers in amdk8/raminit.c that were otherwise provided by that file. Change-Id: I80450e5eb32eb502b3d777c56790db90491fc995 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19360 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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/amdk8.h b/src/northbridge/amd/amdk8/amdk8.h
index 8c472ae16b..bc03b4cfd7 100644
--- a/src/northbridge/amd/amdk8/amdk8.h
+++ b/src/northbridge/amd/amdk8/amdk8.h
@@ -11,12 +11,21 @@
#include "pre_f.h"
#endif
+#define HTIC_ColdR_Detect (1<<4)
+#define HTIC_BIOSR_Detect (1<<5)
+#define HTIC_INIT_Detect (1<<6)
+
#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);
#endif
+void set_bios_reset(void);
+void distinguish_cpu_resets(unsigned int nodeid);
+unsigned int get_sblk(void);
+unsigned int get_sbbusn(unsigned sblk);
+
void cpus_ready_for_init(void);
#endif /* AMDK8_H */