summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s2885/failover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/tyan/s2885/failover.c')
-rw-r--r--src/mainboard/tyan/s2885/failover.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mainboard/tyan/s2885/failover.c b/src/mainboard/tyan/s2885/failover.c
index 2f63cc85b7..45315521ac 100644
--- a/src/mainboard/tyan/s2885/failover.c
+++ b/src/mainboard/tyan/s2885/failover.c
@@ -13,11 +13,14 @@
static unsigned long main(unsigned long bist)
{
- /* Make cerain my local apic is useable */
- enable_lapic();
+ unsigned nodeid;
+ /* Make cerain my local apic is useable */
+ enable_lapic();
+
+ nodeid = lapicid() & 0xf;
/* Is this a cpu only reset? */
- if (cpu_init_detected()) {
+ if (cpu_init_detected(nodeid)) {
if (last_boot_normal()) {
goto normal_image;
} else {