summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-04-26 13:12:07 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-05-06 10:41:19 +0200
commit52c2064476a2a44a9a872c6f1d69f4444cb49cbd (patch)
treed46789e4393669ceecfff25ba98f426cdabd7fee /include
parentfc598412ced94e01d4bbe8769b2a114ff6ac6f2a (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')
-rw-r--r--include/fpga.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fpga.h b/include/fpga.h
index 30a4e6a2e8..0d01e040db 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);