diff options
| author | Oleksandr Suvorov <[email protected]> | 2022-07-22 17:16:10 +0300 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-07-26 09:34:21 +0200 |
| commit | 3e78481de94d94f753bbf05486734b8da394643f (patch) | |
| tree | f9e1525946d52a044d1f71726bc6d0903e9b89c4 /include | |
| 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 <[email protected]>
Tested-by: Ricardo Salveti <[email protected]>
Tested-by: Adrian Fiergolski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/xilinx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xilinx.h b/include/xilinx.h index 0bbf14d8a1d..e5f6db33fa2 100644 --- a/include/xilinx.h +++ b/include/xilinx.h @@ -53,7 +53,7 @@ typedef struct { /* typedef xilinx_desc */ struct xilinx_fpga_op { int (*load)(xilinx_desc *desc, const void *buf, size_t bsize, - bitstream_type bstype); + bitstream_type bstype, int flags); int (*loadfs)(xilinx_desc *desc, const void *buf, size_t bsize, fpga_fs_info *fpga_fsinfo); int (*loads)(xilinx_desc *desc, const void *buf, size_t bsize, |
