zynqmp: pm: Reverse logic for detecting that the PMU firmware is loaded
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 30 Apr 2018 14:09:49 +0000 (19:39 +0530)
committerSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 17 May 2018 09:48:42 +0000 (15:18 +0530)
commit3d512f0b32b6d0835b66d46b4bb16f206fb68be4
treefb0fa716c9842a9589f08f31194b66c7c6aa2f84
parent756e7f282510d7111c67d2f793b09fadf33e7d80
zynqmp: pm: Reverse logic for detecting that the PMU firmware is loaded

Use positive logic (pm_up instead of pm_down) to check whether PMU
services are available. This change also puts the variable into the
BSS section rather than the Data section as the variable is now
initialized to 0 rather than 1.

Signed-off-by: Will Wong <WILLW@xilinx.com>
Signed-off-by: Stefan Krsmanovic <stefan.krsmanovic@aggios.com>
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_svc_main.c