aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorMichal Simek2019-10-04 15:45:29 +0200
committerMichal Simek2019-10-24 13:37:01 +0200
commit866225f394a9b3174d9ea39d2d19ac0d2c07a516 (patch)
tree888ed3852c5fb966b3468dbbfb7687d7cab76721 /drivers/fpga
parent0f3604a2b3882bc0f6c66cfd5acbd074703a5814 (diff)
arm64: xilinx: Move firmware functions from platform to driver
versal_pm_request() and invoke_smc() are almost the same. Only one difference is that versal_pm_request is adding PM_SIP_SVC offset to api_id. The patch is moving platform implementation to firmware driver code for synchronization. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/versalpl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fpga/versalpl.c b/drivers/fpga/versalpl.c
index 69617a9b1d7..8337b8306d7 100644
--- a/drivers/fpga/versalpl.c
+++ b/drivers/fpga/versalpl.c
@@ -8,6 +8,7 @@
#include <asm/arch/sys_proto.h>
#include <memalign.h>
#include <versalpl.h>
+#include <zynqmp_firmware.h>
static ulong versal_align_dma_buffer(ulong *buf, u32 len)
{