From c66f1cbdae6dced6410c0fc108cb0a1e3b3aa1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 12 Aug 2013 16:09:00 +0300 Subject: Include boot_cpu.c for romstage builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ROMCC boards were left unmodified. Change-Id: I3d842196b3f5b6999b6891b914036e9ffcc3cef0 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/3853 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/cpu/x86/lapic.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') 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 */ -- cgit v1.2.3