diff options
author | Michal Simek | 2013-04-26 13:12:07 +0200 |
---|---|---|
committer | Michal Simek | 2013-05-06 10:41:19 +0200 |
commit | 52c2064476a2a44a9a872c6f1d69f4444cb49cbd (patch) | |
tree | d46789e4393669ceecfff25ba98f426cdabd7fee /include/fpga.h | |
parent | fc598412ced94e01d4bbe8769b2a114ff6ac6f2a (diff) |
cmd: fpga: Move fpga_loadbitstream to fpga.c
In bitstream decoding you can directly check device
which you want to load and in fpga.c are fpga_validate
and fpga_dev_info functions which should be used for it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.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 30a4e6a2e85..0d01e040db2 100644 --- a/include/fpga.h +++ b/include/fpga.h @@ -68,6 +68,7 @@ extern void fpga_init(void); extern int fpga_add(fpga_type devtype, void *desc); extern int fpga_count(void); extern int fpga_load(int devnum, const void *buf, size_t bsize); +extern int fpga_loadbitstream(unsigned long dev, char *fpgadata, size_t size); extern int fpga_dump(int devnum, const void *buf, size_t bsize); extern int fpga_info(int devnum); |