cmd: fpga: Move fpga_loadbitstream to fpga.c
authorMichal Simek <michal.simek@xilinx.com>
Fri, 26 Apr 2013 11:12:07 +0000 (13:12 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 May 2013 08:41:19 +0000 (10:41 +0200)
commit52c2064476a2a44a9a872c6f1d69f4444cb49cbd
treed46789e4393669ceecfff25ba98f426cdabd7fee
parentfc598412ced94e01d4bbe8769b2a114ff6ac6f2a
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>
common/cmd_fpga.c
drivers/fpga/fpga.c
drivers/fpga/xilinx.c
include/fpga.h