projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3104f2e
)
zynqmp: Make MMIO write FW call synchronous
author
Soren Brinkmann
<
[email protected]
>
Tue, 6 Sep 2016 23:29:07 +0000
(16:29 -0700)
committer
Soren Brinkmann
<
[email protected]
>
Tue, 13 Sep 2016 16:19:03 +0000
(09:19 -0700)
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 <
[email protected]
>
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
patch
|
blob
|
history
diff --git
a/plat/xilinx/zynqmp/pm_service/pm_api_sys.c
b/plat/xilinx/zynqmp/pm_service/pm_api_sys.c
index efadbd200ee19346b0337ab2227ae41ea21df027..e859ee39ee18afe9ea7c4fe06e332187be656809 100644
(file)
--- 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
);
}
/**