arm64: add devicetree based CPU startup
commit9fd4dc73bc1fb0fc7d146c6bf2d0e6a9db1fc22c
authorAaron Durbin <adurbin@chromium.org>
Sat, 6 Sep 2014 07:31:30 +0000 (6 02:31 -0500)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 27 Mar 2015 07:05:20 +0000 (27 08:05 +0100)
treebb659d35aeba31c47cfe77c872cadebf41c3ada4
parent27d4266a44a2a39a589145dd234526f94a206eec
arm64: add devicetree based CPU startup

This adds SMP bring up support for arm64 cpus. It's
reliant on DEVICE_PATH_CPU devices in the devicetree.
Then for each enabled device it attempts to start then
initialize each CPU.  Additionally, there is a cpu_action
construct which allows for running actions on an individual
cpu.

BUG=chrome-os-partner:31761
BRANCH=None
TEST=Booted both cores on ryu into linux.

Change-Id: I3e42fb668034c27808d706427a26be1558ad2af1
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: a733fd566a8e5793da5ff28f9c16c213f411372e
Original-Change-Id: I407eabd0b6985fc4e86de57a9e034548ec8f3d81
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/216925
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/9042
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/arch/arm64/c_entry.c
src/arch/arm64/cpu-internal.h
src/arch/arm64/cpu.c
src/arch/arm64/include/armv8/arch/cpu.h