diff options
author | Michal Simek | 2015-01-13 16:09:53 +0100 |
---|---|---|
committer | Michal Simek | 2015-01-21 10:25:02 +0100 |
commit | ebd322de43d7d43dd59955aa58952bafa95cfd4a (patch) | |
tree | 434cd90147a204f6a9d379190b59d5330d9a77cb /include/fpga.h | |
parent | 6583505c23207e25a1b736aeaf207122d468d671 (diff) |
fpga: Export fpga_get_desc for SPL
SPL needs to detect FPGA device which will be used
for loading bitstream.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/fpga.h')
-rw-r--r-- | include/fpga.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fpga.h b/include/fpga.h index ef044e93629..e0d12981b28 100644 --- a/include/fpga.h +++ b/include/fpga.h @@ -52,6 +52,7 @@ typedef enum { void fpga_init(void); int fpga_add(fpga_type devtype, void *desc); int fpga_count(void); +const fpga_desc *const fpga_get_desc(int devnum); int fpga_load(int devnum, const void *buf, size_t bsize, bitstream_type bstype); int fpga_fsload(int devnum, const void *buf, size_t size, |