Skip to content
Commit b6039aad authored by Michal Simek's avatar Michal Simek
Browse files

firmware: zynqmp: Separate function for sending message via mailbox



U-Boot running in EL3 can't use SMC that's why there is a need to talk to
PMUFW directly via mailbox. The same logic is applied to all functions
which need to talk to PMUFW that's why move this logic to separate function
to avoid code duplication.

Also SMC request ID can be composed from PM_SIP_SVC offset that's why
ZYNQMP_SIP_SVC_GET_API_VERSION macro can be removed completely.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 325a22dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment