summaryrefslogtreecommitdiff
path: root/drivers/fpga/cyclon2.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-10-18 21:32:14 +0200
committerWolfgang Denk <wd@denx.de>2010-10-18 21:32:14 +0200
commit439f6f7ec17e267745d6667f9920514fa8da6b58 (patch)
treeb166d68abd0e14b19a45340837f07ba7f9dd195c /drivers/fpga/cyclon2.c
parentcacc342d5aa311673efdc05770cb53246dd41c9f (diff)
downloadu-boot-imx-439f6f7ec17e267745d6667f9920514fa8da6b58.zip
u-boot-imx-439f6f7ec17e267745d6667f9920514fa8da6b58.tar.gz
u-boot-imx-439f6f7ec17e267745d6667f9920514fa8da6b58.tar.bz2
FPGA: fix support for non-Lattice devices
Commit 3b8ac464 "FPGA: add support for downloading Lattice bitstream" added support for Lattice devices, but failed to add #ifdef's that are needed when building for non-Lattice devices, which results in build failures like these: Configuring for GEN860T board... drivers/fpga/libfpga.a(fpga.o): In function `fpga_dev_info': /home/wd/git/u-boot/work/drivers/fpga/fpga.c:145: undefined reference to `lattice_info' drivers/fpga/libfpga.a(fpga.o): In function `fpga_dump': /home/wd/git/u-boot/work/drivers/fpga/fpga.c:269: undefined reference to `lattice_dump' drivers/fpga/libfpga.a(fpga.o): In function `fpga_load': /home/wd/git/u-boot/work/drivers/fpga/fpga.c:233: undefined reference to `lattice_load' make: *** [u-boot] Error 1 Add the missing code. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/fpga/cyclon2.c')
0 files changed, 0 insertions, 0 deletions