arm: implement generic PSCI reset call for armv8
authorBeniamino Galvani <b.galvani@gmail.com>
Sun, 8 May 2016 06:30:14 +0000 (08:30 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:39:46 +0000 (15:39 -0400)
commit5a07abb3705f561221e7ae351beba746b6ae6eb7
tree5db3657b26c6c19f06d0b2929edb9872e12666bf
parent20898ea9340a4fd1631a4057b8de011b9f166255
arm: implement generic PSCI reset call for armv8

Add a psci_system_reset() which calls the SYSTEM_RESET function of
PSCI 0.2 and can be used by boards that support it to implement
reset_cpu().

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv8/fwcall.c
arch/arm/include/asm/psci.h
arch/arm/include/asm/system.h