diff options
author | Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com> | 2020-08-04 23:17:26 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-08-20 09:49:20 +0200 |
commit | f6cccbb5f24ff7a19be84fb755d8566aee647244 (patch) | |
tree | 26bc4cd681a5332aaa92aff3c88c0e6946d78b4d /drivers | |
parent | e8deb2218509ffe686601b7e51091407fda58fbf (diff) | |
download | u-boot-f6cccbb5f24ff7a19be84fb755d8566aee647244.tar.gz |
xilinx: zynqmp: synchronize firmware call return payload
Removes duplicated definition of PAYLOAD_ARG_CNT and define it in the
firmware driver. Additionally fixes payload buffer declarations without
macro usage
Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/fpga/versalpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/versalpl.c b/drivers/fpga/versalpl.c index 8e2ef4f0da..c44a7d3455 100644 --- a/drivers/fpga/versalpl.c +++ b/drivers/fpga/versalpl.c @@ -32,7 +32,7 @@ static int versal_load(xilinx_desc *desc, const void *buf, size_t bsize, ulong bin_buf; int ret; u32 buf_lo, buf_hi; - u32 ret_payload[5]; + u32 ret_payload[PAYLOAD_ARG_CNT]; bin_buf = versal_align_dma_buffer((ulong *)buf, bsize); |