fpga: Added support to load bit stream from SD/MMC
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Fri, 14 Mar 2014 11:05:37 +0000 (16:35 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 May 2014 13:23:46 +0000 (15:23 +0200)
commit1a897668ac33c57ca76f47cb940ec32b405e90dd
treeaccd3a9001b851d2fe03553f7997fa417be17db0
parent26ea9ce5b84b688936a64d1c6102614ed1c28640
fpga: Added support to load bit stream from SD/MMC

Added support to load a bitstream image in chunks by reading it in
chunks from SD/MMC.
Command format:
loadfs [dev] [address] [image size] [blocksize] <interface>
       [<dev[:part]>] <filename>
Example: fpga loadfs 0 1000000 3dbafc 4000 mmc 0 fpga.bin

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/cmd_fpga.c
drivers/fpga/fpga.c
drivers/fpga/xilinx.c
drivers/fpga/zynqpl.c
include/configs/zynq-common.h
include/fpga.h
include/xilinx.h