summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-08-12 16:09:00 +0300
committerPatrick Georgi <patrick@georgi-clan.de>2013-08-15 20:49:03 +0200
commitc66f1cbdae6dced6410c0fc108cb0a1e3b3aa1e2 (patch)
tree73043d8daf44c9a3e26c9daa63bf3936a161bf8f /src/include
parentf040858ec31ffef5b746bb9856be6395a20c98ce (diff)
Include boot_cpu.c for romstage builds
ROMCC boards were left unmodified. Change-Id: I3d842196b3f5b6999b6891b914036e9ffcc3cef0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3853 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/lapic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h
index d4f323208b..96b5891918 100644
--- a/src/include/cpu/x86/lapic.h
+++ b/src/include/cpu/x86/lapic.h
@@ -153,6 +153,10 @@ int start_cpu(struct device *cpu);
#endif /* !__PRE_RAM__ */
+#if CONFIG_SMP
int boot_cpu(void);
+#else
+#define boot_cpu(x) 1
+#endif
#endif /* CPU_X86_LAPIC_H */