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>
1 parent 36a8f8f commit ed3c0ef8ac08d7a4759bc3e70769e6ea5216a502
@Roberto Vargas Roberto Vargas authored on 31 Jul 2017
Showing 2 changed files
View
plat/arm/css/drivers/scp/css_pm_scmi.c
View
plat/arm/css/drivers/scp/css_scp.h