aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/stratixv.c
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>2022-07-22 17:16:11 +0300
committerMichal Simek <michal.simek@amd.com>2022-07-26 09:34:21 +0200
commitfcd91cb782c9c659c5db65c9aa5fb7e0497de1ec (patch)
treebdb3f47da217ca3b0b4c8f20f591c511119efeef /drivers/fpga/stratixv.c
parent3e78481de94d94f753bbf05486734b8da394643f (diff)
fpga: zynqmp: reduce zynqmppl_load() code
Reduce the function code by calling xilinx_pm_request() once only. Use the same variable bsize_req to store either bstream size in bytes or an address of bstream size according to a type required by the firmware version. Remove obsolete debug(). Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Tested-by: Ricardo Salveti <ricardo@foundries.io> Tested-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com> Link: https://lore.kernel.org/r/20220722141614.297383-11-oleksandr.suvorov@foundries.io Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/stratixv.c')
0 files changed, 0 insertions, 0 deletions