summaryrefslogtreecommitdiff
path: root/include/xilinx.h
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>2022-07-22 17:16:06 +0300
committerMichal Simek <michal.simek@amd.com>2022-07-26 10:34:21 +0300
commit7a9a0df89bf1cb9f7e78378f946f1d9c9b002d72 (patch)
treef216ca160f3b566868376ecd14bdf0ff9f8fd699 /include/xilinx.h
parent24307b06b71a3c9b4aa556eefdad1f8fcca116bd (diff)
downloadu-boot-7a9a0df89bf1cb9f7e78378f946f1d9c9b002d72.tar.xz
fpga: xilinx: pass compatible flags to xilinx_load()
This flag is used to check whether a Xilinx 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-6-oleksandr.suvorov@foundries.io Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'include/xilinx.h')
-rw-r--r--include/xilinx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xilinx.h b/include/xilinx.h
index ff5486d98a..0bbf14d8a1 100644
--- a/include/xilinx.h
+++ b/include/xilinx.h
@@ -68,7 +68,7 @@ struct xilinx_fpga_op {
/* Generic Xilinx Functions
*********************************************************************/
int xilinx_load(xilinx_desc *desc, const void *image, size_t size,
- bitstream_type bstype);
+ bitstream_type bstype, int flags);
int xilinx_dump(xilinx_desc *desc, const void *buf, size_t bsize);
int xilinx_info(xilinx_desc *desc);
int xilinx_loadfs(xilinx_desc *desc, const void *buf, size_t bsize,