[U-Boot] [PATCH] FPGA: fix support for non-Lattice devices

Wolfgang Denk wd at denx.de
Mon Oct 18 22:18:03 CEST 2010


In message <1287430603-1343-1-git-send-email-wd at denx.de> I wrote:
> 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 at denx.de>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>  drivers/fpga/fpga.c |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)

Applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PoB = "Prisoner of Bill" -- those held captive, unwillingly or other-
wise, by the contemptible Microsoft monopoly.
         -- Tom Christiansen in <6abo45$3lc$2 at csnews.cs.colorado.edu>


More information about the U-Boot mailing list