Commit 8787c0e0 authored by Soren Brinkmann's avatar Soren Brinkmann
Browse files

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: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment