summaryrefslogtreecommitdiff
path: root/src/arch/i386
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2005-11-22 00:07:02 +0000
committerRonald G. Minnich <rminnich@gmail.com>2005-11-22 00:07:02 +0000
commit43225bc8042b32d52b31c788daee1e42bd1fa28e (patch)
tree951e0acc732af7483565e4b0d5d42d1c849e2562 /src/arch/i386
parent86cbd33837207e06a9ae41efe65ac2401e885c4b (diff)
downloadcoreboot-43225bc8042b32d52b31c788daee1e42bd1fa28e.tar.xz
EPIA-M fixup
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2090 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/lib/cpu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/i386/lib/cpu.c b/src/arch/i386/lib/cpu.c
index 628bb79e91..11ccee211f 100644
--- a/src/arch/i386/lib/cpu.c
+++ b/src/arch/i386/lib/cpu.c
@@ -234,11 +234,13 @@ void cpu_initialize(void)
// Check that we haven't been passed bad information as the result of a race
// (i.e. BSP timed out while waiting for us to load secondary_stack)
+#if CONFIG_SMP || CONFIG_IOPIC
if (cpu->path.u.apic.apic_id != lapicid()) {
printk_err("CPU #%d Initialization FAILED: APIC ID mismatch (%u != %u)\n",
info->index, cpu->path.u.apic.apic_id, lapicid());
// return without setting initialized flag
} else {
+#endif
/* Find what type of cpu we are dealing with */
identify_cpu(cpu);
printk_debug("CPU: vendor %s device %x\n",
@@ -255,8 +257,10 @@ void cpu_initialize(void)
}
printk_info("CPU #%d Initialized\n", info->index);
- }
+#if CONFIG_SMP || CONFIG_IOPIC
+ }
+#endif
return;
}