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>
1 parent 756e7f2 commit 3d512f0b32b6d0835b66d46b4bb16f206fb68be4
@Siva Durga Prasad Paladugu Siva Durga Prasad Paladugu authored on 30 Apr 2018
Showing 1 changed file
View
plat/xilinx/zynqmp/pm_service/pm_svc_main.c