summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdk8
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-07-07 13:42:03 +0300
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2012-08-07 06:40:41 +0200
commit7bdf85bfdb4e2c5efe47d8474f42f42c152c8882 (patch)
tree0583ed4f4151ab4586b9435bcd3cbd7c58079019 /src/northbridge/amd/amdk8
parent9ca1c0af64eeec013e3b4997fb86d334101c7f47 (diff)
Move cpus_ready_for_init() to AMD K8
The function is a noop for all but amd/serengeti_cheetah. Change-Id: I09e2e710aa964c2f31e35fcea4f14856cc1e1dca Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1184 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/northbridge/amd/amdk8')
-rw-r--r--src/northbridge/amd/amdk8/Kconfig4
-rw-r--r--src/northbridge/amd/amdk8/amdk8.h2
-rw-r--r--src/northbridge/amd/amdk8/northbridge.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig
index 70e75e9007..9ea540470b 100644
--- a/src/northbridge/amd/amdk8/Kconfig
+++ b/src/northbridge/amd/amdk8/Kconfig
@@ -33,6 +33,10 @@ config K8_HT_FREQ_1G_SUPPORT
bool
default n
+config WAIT_BEFORE_CPUS_INIT
+ bool
+ default n
+
config MEM_TRAIN_SEQ
int
default 0
diff --git a/src/northbridge/amd/amdk8/amdk8.h b/src/northbridge/amd/amdk8/amdk8.h
index 5aa3b31fbf..e001706ce9 100644
--- a/src/northbridge/amd/amdk8/amdk8.h
+++ b/src/northbridge/amd/amdk8/amdk8.h
@@ -14,4 +14,6 @@ void setup_resource_map_offset(const unsigned int *register_values, int max, uns
void fill_mem_ctrl(int controllers, struct mem_controller *ctrl_a, const uint16_t *spd_addr);
#endif
+void cpus_ready_for_init(void);
+
#endif /* AMDK8_H */
diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c
index bec02f0e9d..b6e1a7d936 100644
--- a/src/northbridge/amd/amdk8/northbridge.c
+++ b/src/northbridge/amd/amdk8/northbridge.c
@@ -1369,6 +1369,9 @@ static u32 cpu_bus_scan(device_t dev, u32 max)
static void cpu_bus_init(device_t dev)
{
+#if CONFIG_WAIT_BEFORE_CPUS_INIT
+ cpus_ready_for_init();
+#endif
initialize_cpus(dev->link_list);
}