summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-05-01 16:48:54 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-05-05 17:49:31 +0200
commit168eda5f0d26a233bd997e0b0597926e80df57a3 (patch)
treee847b0685e375cd85e4f3579c14fb2bc7bd6f6dd
parent9e80e27d3874b1eebe06ef90e9af16f0b07ec180 (diff)
arch/arm64: provide boot_cpu()
Change-Id: I708041133dfafdc97e052952ad9d8f2e4164209c Signed-off-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10105 Tested-by: build bot (Jenkins)
-rw-r--r--src/arch/arm64/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm64/cpu.c b/src/arch/arm64/cpu.c
index cd8dd3820a..7965577141 100644
--- a/src/arch/arm64/cpu.c
+++ b/src/arch/arm64/cpu.c
@@ -22,6 +22,7 @@
#include <arch/lib_helpers.h>
#include <cpu/cpu.h>
#include <console/console.h>
+#include <smp/node.h>
#include "cpu-internal.h"
struct cpu_info cpu_infos[CONFIG_MAX_CPUS];
@@ -218,3 +219,8 @@ void arch_cpu_wait_for_action(void)
action_queue_complete(q, orig);
}
}
+
+int boot_cpu(void)
+{
+ return cpu_is_bsp();
+}