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:
parent
9e80e27d38
commit
168eda5f0d
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue