aboutsummaryrefslogtreecommitdiff
path: root/include/fpga.h
diff options
context:
space:
mode:
authorOleksandr Suvorov2022-07-22 17:16:07 +0300
committerMichal Simek2022-07-26 09:34:21 +0200
commit282eed50ecb73c20dd35bf3ea7a579e79b20cd54 (patch)
tree9becfb54fb29f43d7b98a8402cf795ffaae10bc2 /include/fpga.h
parent7a9a0df89bf1cb9f7e78378f946f1d9c9b002d72 (diff)
fpga: pass compatible flags to fpga_load()
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-7-oleksandr.suvorov@foundries.io Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'include/fpga.h')
-rw-r--r--include/fpga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fpga.h b/include/fpga.h
index ec5144334df..6365e1569e3 100644
--- a/include/fpga.h
+++ b/include/fpga.h
@@ -64,7 +64,7 @@ int fpga_count(void);
const fpga_desc *const fpga_get_desc(int devnum);
int fpga_is_partial_data(int devnum, size_t img_len);
int fpga_load(int devnum, const void *buf, size_t bsize,
- bitstream_type bstype);
+ bitstream_type bstype, int flags);
int fpga_fsload(int devnum, const void *buf, size_t size,
fpga_fs_info *fpga_fsinfo);
int fpga_loads(int devnum, const void *buf, size_t size,