zynqmp: Make MMIO write FW call synchronous
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 6 Sep 2016 23:29:07 +0000 (16:29 -0700)
committerSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 13 Sep 2016 16:19:03 +0000 (09:19 -0700)
commit8787c0e00cfde59e81f6f89c84cef89d422cfabb
treef0c88f68f1eee8203c704a1de3c4877311ce3eba
parent3104f2e78d99bff1a0719680b5372563701732d8
zynqmp: Make MMIO write FW call synchronous

We must guarantee that writes have become effective before returning to
the caller. Hence, wait for PMUFW signaling completion of the FW call
before returning to the rich OS.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_api_sys.c