diff options
author | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2022-07-22 17:16:10 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-07-26 09:34:21 +0200 |
commit | 3e78481de94d94f753bbf05486734b8da394643f (patch) | |
tree | f9e1525946d52a044d1f71726bc6d0903e9b89c4 /drivers/fpga/xilinx.c | |
parent | 71f1a5392aadb5b6a43523b46040dea2ffbdd2ba (diff) |
fpga: xilinx: pass compatible flags to load() callback
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
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-10-oleksandr.suvorov@foundries.io
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/xilinx.c')
-rw-r--r-- | drivers/fpga/xilinx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/xilinx.c b/drivers/fpga/xilinx.c index d9951ca3ec..8170c3368e 100644 --- a/drivers/fpga/xilinx.c +++ b/drivers/fpga/xilinx.c @@ -151,7 +151,7 @@ int xilinx_load(xilinx_desc *desc, const void *buf, size_t bsize, return FPGA_FAIL; } - return desc->operations->load(desc, buf, bsize, bstype); + return desc->operations->load(desc, buf, bsize, bstype, flags); } #if defined(CONFIG_CMD_FPGA_LOADFS) |