diff options
author | Filip Drazic <filip.drazic@aggios.com> | 2016-07-20 17:17:39 +0200 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-09-13 09:19:03 -0700 |
commit | 95fd990fe601af26b3d4e0aa34aa2d2aad70de30 (patch) | |
tree | 9089c8777d3befb87f1ba030d1c3a139aae02b2e /lib/psci/psci_common.c | |
parent | eccc7cde9f3eba2de4e533dcc7fde117adbf59cc (diff) |
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>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions