1. 04 Mar, 2014 1 commit
  2. 06 Feb, 2014 1 commit
  3. 17 Nov, 2013 1 commit
  4. 06 Nov, 2013 2 commits
  5. 31 Oct, 2013 1 commit
  6. 14 Oct, 2013 1 commit
  7. 12 Aug, 2013 2 commits
  8. 24 Jul, 2013 1 commit
  9. 06 May, 2013 6 commits
  10. 01 Apr, 2013 1 commit
    • York Sun's avatar
      Consolidate bool type · 472d5460
      York Sun authored
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      472d5460
  11. 29 Oct, 2012 1 commit
  12. 04 Mar, 2012 1 commit
  13. 05 Jan, 2012 1 commit
  14. 16 Nov, 2011 1 commit
  15. 27 Oct, 2011 1 commit
    • Marek Vasut's avatar
      GCC4.6: Squash warnings in lattice.c · b89c708b
      Marek Vasut authored
      lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but argument
      3 has type 'const char *'
      lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but argument
      4 has type 'long unsigned int'
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Mike Frysinger <vapier@gentoo.org>
      b89c708b
  16. 05 Sep, 2011 1 commit
    • Wolfgang Denk's avatar
      FPGA: constify Lattice FPGA code · fb2d6efb
      Wolfgang Denk authored
      The Lattice code was missed by commit e6a857da "fpga: constify to fix
      build warning" resulting in such warnings:
      
      fpga.c: In function 'fpga_load':
      fpga.c:238: warning: passing argument 2 of 'lattice_load' discards qualifiers from pointer target type
      fpga.c: In function 'fpga_dump':
      fpga.c:278: warning: passing argument 2 of 'lattice_dump' discards qualifiers from pointer target type
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      cc: Stefano Babic <sbabic@denx.de>
      fb2d6efb
  17. 01 Aug, 2011 1 commit
    • Wolfgang Denk's avatar
      fpga: constify to fix build warning · e6a857da
      Wolfgang Denk authored
      Fix compiler warning:
      
      cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
      from incompatible pointer type
      
      Adding the needed 'const' here entails a whole bunch of additonal
      changes all over the FPGA code.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
      Cc: Murray Jensen <Murray.Jensen@csiro.au>
      Acked-by: Andre Schwarz<andre.schwarz@matrix-vision.de>
      e6a857da
  18. 28 Jul, 2011 2 commits
  19. 09 Dec, 2010 1 commit
  20. 30 Nov, 2010 1 commit
  21. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  22. 27 Oct, 2010 1 commit
  23. 18 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      FPGA: fix support for non-Lattice devices · 439f6f7e
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      439f6f7e
  24. 13 Oct, 2010 1 commit
    • Stefano Babic's avatar
      FPGA: add support for downloading Lattice bitstream · 3b8ac464
      Stefano Babic authored
      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: default avatarStefano Babic <sbabic@denx.de>
      3b8ac464
  25. 24 Mar, 2010 1 commit
    • Wolfgang Wegner's avatar
      add block write function to spartan3 slave serial load · 89083346
      Wolfgang Wegner authored
      Using seperate function calls for each bit-bang of slave serial
      load can be painfully slow. This patch adds the possibility to
      supply a block write function that loads the complete block of
      data in one call (like it can already be done with Altera FPGAs).
      On an MCF5373L (240 MHz) loading an XC3S4000 this reduces the load
      time from around 15 seconds to around 3 seconds
      
      Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
      89083346
  26. 03 Oct, 2009 1 commit
  27. 21 Feb, 2009 2 commits
  28. 05 Dec, 2008 1 commit