diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-09-06 16:29:07 -0700 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-09-13 09:19:03 -0700 |
commit | 8787c0e00cfde59e81f6f89c84cef89d422cfabb (patch) | |
tree | f0c88f68f1eee8203c704a1de3c4877311ce3eba | |
parent | 3104f2e78d99bff1a0719680b5372563701732d8 (diff) |
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>
-rw-r--r-- | plat/xilinx/zynqmp/pm_service/pm_api_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/xilinx/zynqmp/pm_service/pm_api_sys.c b/plat/xilinx/zynqmp/pm_service/pm_api_sys.c index efadbd20..e859ee39 100644 --- a/plat/xilinx/zynqmp/pm_service/pm_api_sys.c +++ b/plat/xilinx/zynqmp/pm_service/pm_api_sys.c @@ -476,7 +476,7 @@ enum pm_ret_status pm_mmio_write(uintptr_t address, /* Send request to the PMU */ PM_PACK_PAYLOAD4(payload, PM_MMIO_WRITE, address, mask, value); - return pm_ipi_send(primary_proc, payload); + return pm_ipi_send_sync(primary_proc, payload, NULL); } /** |