Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10696
-gerrit
commit 9b73a9a0fee108c96ae12af1f7c786f3238029c7 Author: Patrick Georgi pgeorgi@chromium.org Date: Mon Jun 29 17:07:23 2015 +0200
arch/arm64: Fix compilation without CONFIG_SMP
Compilers aren't happy with a declaration of boot_cpu() after defining boot_cpu to 1.
Change-Id: I22d0db61646f3e226e5996fa94223ffbb6b760e5 Signed-off-by: Patrick Georgi pgeorgi@chromium.org --- src/arch/arm64/cpu.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/arch/arm64/cpu.c b/src/arch/arm64/cpu.c index 3cf73ae..1b33c10 100644 --- a/src/arch/arm64/cpu.c +++ b/src/arch/arm64/cpu.c @@ -220,7 +220,9 @@ void arch_cpu_wait_for_action(void) } }
+#if IS_ENABLED(CONFIG_SMP) int boot_cpu(void) { return cpu_is_bsp(); } +#endif