diff options
author | Ibai Erkiaga | 2019-09-27 11:37:02 +0100 |
---|---|---|
committer | Michal Simek | 2019-10-08 09:55:11 +0200 |
commit | 5743981e27f7b22b9b0edef8618e61157b16c65a (patch) | |
tree | 04f120eee400669f40fa15d19f2fff8a9600dc63 /drivers/fpga | |
parent | 009ab7b93abac255a3dbfa76a9d7ebe69d846e98 (diff) |
arm64: zynqmp: use firmware driver to get version
Use the new function from firmware version to get the firmware version.
Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/fpga')
-rw-r--r-- | drivers/fpga/zynqmppl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c index 6168626aeef..c2670271c8e 100644 --- a/drivers/fpga/zynqmppl.c +++ b/drivers/fpga/zynqmppl.c @@ -152,7 +152,7 @@ static ulong zynqmp_align_dma_buffer(u32 *buf, u32 len, u32 swap) buf = new_buf; } else if ((swap != SWAP_DONE) && - (zynqmp_pmufw_version() <= PMUFW_V1_0)) { + (zynqmp_firmware_version() <= PMUFW_V1_0)) { /* For bitstream which are aligned */ new_buf = buf; @@ -205,7 +205,7 @@ static int zynqmp_load(xilinx_desc *desc, const void *buf, size_t bsize, u32 ret_payload[PAYLOAD_ARG_CNT]; bool xilfpga_old = false; - if (zynqmp_pmufw_version() <= PMUFW_V1_0) { + if (zynqmp_firmware_version() <= PMUFW_V1_0) { puts("WARN: PMUFW v1.0 or less is detected\n"); puts("WARN: Not all bitstream formats are supported\n"); puts("WARN: Please upgrade PMUFW\n"); |