Skip to content
Commit fcd91cb7 authored by Oleksandr Suvorov's avatar Oleksandr Suvorov Committed by Michal Simek
Browse files

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: default avatarOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Tested-by: default avatarRicardo Salveti <ricardo@foundries.io>
Tested-by: default avatarAdrian Fiergolski <adrian.fiergolski@fastree3d.com>
Link: https://lore.kernel.org/r/20220722141614.297383-11-oleksandr.suvorov@foundries.io


Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
parent 3e78481d
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