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)
This commit is contained in:
Aaron Durbin 2015-05-01 16:48:54 -05:00 committed by Patrick Georgi
parent 9e80e27d38
commit 168eda5f0d
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <arch/lib_helpers.h> #include <arch/lib_helpers.h>
#include <cpu/cpu.h> #include <cpu/cpu.h>
#include <console/console.h> #include <console/console.h>
#include <smp/node.h>
#include "cpu-internal.h" #include "cpu-internal.h"
struct cpu_info cpu_infos[CONFIG_MAX_CPUS]; struct cpu_info cpu_infos[CONFIG_MAX_CPUS];
@ -218,3 +219,8 @@ void arch_cpu_wait_for_action(void)
action_queue_complete(q, orig); action_queue_complete(q, orig);
} }
} }
int boot_cpu(void)
{
return cpu_is_bsp();
}