u-boot/drivers/fpga
Wolfgang Denk 439f6f7ec1 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>
2010-10-18 21:32:14 +02:00
..
ACEX1K.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
altera.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
cyclon2.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
fpga.c FPGA: fix support for non-Lattice devices 2010-10-18 21:32:14 +02:00
ivm_core.c FPGA: add support for downloading Lattice bitstream 2010-10-13 18:09:31 +02:00
lattice.c FPGA: add support for downloading Lattice bitstream 2010-10-13 18:09:31 +02:00
Makefile FPGA: add support for downloading Lattice bitstream 2010-10-13 18:09:31 +02:00
spartan2.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
spartan3.c add block write function to spartan3 slave serial load 2010-03-24 11:08:43 -05:00
stratixII.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
virtex2.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
xilinx.c fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00