zynqmp: pm: Provide state argument to the pm_self_suspend API call
The state argument of the pm_self_suspend API encodes the state to
which the APU intends to suspend. The state can be:
- PM_APU_STATE_CPU_IDLE - processor power down, all memories remain
  on
- PM_APU_STATE_SUSPEND_TO_RAM - all processors powered down, L2$
  powered down, all OCM banks in retention and DDR in
  self-refresh.
The calls for setting requirements for L2$ and OCM banks are now
redundant and removed.

Signed-off-by: Filip Drazic <filip.drazic@aggios.com>
[ sb
 - remove redundant #defines
]
Signed-off-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
1 parent eccc7cd commit 95fd990fe601af26b3d4e0aa34aa2d2aad70de30
@Filip Drazic Filip Drazic authored on 20 Jul 2016
Soren Brinkmann committed on 13 Sep 2016
Showing 4 changed files
View
plat/xilinx/zynqmp/plat_psci.c
View
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
View
plat/xilinx/zynqmp/pm_service/pm_client.c
View
plat/xilinx/zynqmp/pm_service/pm_defs.h