scp: Introduce css_scp_system_off() function
authorRoberto Vargas <roberto.vargas@arm.com>
Mon, 31 Jul 2017 08:45:10 +0000 (09:45 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Fri, 13 Oct 2017 07:08:32 +0000 (08:08 +0100)
commited3c0ef8ac08d7a4759bc3e70769e6ea5216a502
tree42e8d2768d4afd35ff2f869f991e9e32112e3959
parent36a8f8fd471ae7c6dc8a810aaa8ff8734706234e
scp: Introduce css_scp_system_off() function

The common implementation of css_scp_sys_shutdown and
css_scp_warm_reset is refactored into a new function,
css_scp_system_off() that allows the desired power state to be
specified.

The css_scp_system_off can be used in the implementation of
SYSTEM_RESET2 for PSCI v1.1.

Change-Id: I161e62354d3d75f969b8436d794335237520a9a4
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
plat/arm/css/drivers/scp/css_pm_scmi.c
plat/arm/css/drivers/scp/css_scp.h