ARMv8/Layerscape: switch SMP method accordingly
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Tue, 28 Jun 2016 12:18:15 +0000 (20:18 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 19 Jul 2016 18:34:00 +0000 (11:34 -0700)
commit032d5bb4aed40f1d0de0698501fcacee594caabc
treea481fc2d5e528b9baa0314bca69a70d8ff7fe76a
parentf1dd4cadd20c3b6b2454b7f293265caa66f27fee
ARMv8/Layerscape: switch SMP method accordingly

If the PSCI and PPA is ready, skip the fixup for spin-table and
waking secondary cores. Otherwise, change SMP method to spin-table,
and the device node of PSCI will be removed.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/fdt.c