]> git.dujemihanovic.xyz Git - u-boot.git/commit
FPGA: add support for downloading Lattice bitstream
authorStefano Babic <sbabic@denx.de>
Tue, 29 Jun 2010 09:47:48 +0000 (11:47 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Oct 2010 16:09:31 +0000 (18:09 +0200)
commit3b8ac464f25581a7d22b303a9154c05e0c7f40a8
tree47f8c1789a5667ef0d31daed228b9b70386138ed
parentf8f8acd7249d224ed5f9704a5738c469b137bc8e
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>
drivers/fpga/Makefile
drivers/fpga/fpga.c
drivers/fpga/ivm_core.c [new file with mode: 0755]
drivers/fpga/lattice.c [new file with mode: 0644]
include/fpga.h
include/lattice.h [new file with mode: 0755]