FPGA: add support for downloading Lattice bitstream

The patch adds support to load a Lattice's bitstream
image (called VME file) into a Lattice FPGA. The code
containing the state machine delivered as part of
Lattice's ispVMtools is integrated.

The FPGA is programmed using the JTAG interface. The
board maintainer must provide accessors to drive the
JTAG signals TCK, TMS, TDI and to get the value of the
input signal TDO.

Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
Stefano Babic
2010-06-29 11:47:48 +02:00
parent f8f8acd724
commit 3b8ac464f2
6 changed files with 3898 additions and 0 deletions

3167
drivers/fpga/ivm_core.c Executable file

File diff suppressed because it is too large Load Diff