1. 21 Jan, 2015 3 commits
  2. 23 Nov, 2014 1 commit
  3. 06 Oct, 2014 7 commits
    • Pavel Machek's avatar
      arm: socfpga: fpga: Add SoCFPGA FPGA programming interface · 230fe9b2
      Pavel Machek authored
      Add code necessary to program the FPGA part of SoCFPGA from U-Boot
      with an RBF blob. This patch also integrates the code into the
      FPGA driver framework in U-Boot so it can be used via the 'fpga'
      command.
      Signed-off-by: default avatarPavel Machek <pavel@denx.de>
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      
      V2: Move the not-CPU specific stuff into drivers/fpga/ and base
          this on the cleaned up altera FPGA support.
      230fe9b2
    • Marek Vasut's avatar
      fpga: altera: Turn the switches into table lookup · 2012f238
      Marek Vasut authored
      Add a table of FPGA family with matching functions associated with
      it and make all the code just look up the family in that table and
      call the associated function instead of the horrible switch voodoo
      which was duplicated all over the place.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      2012f238
    • Marek Vasut's avatar
      fpga: altera: Make altera_validate return normal values · fda915a4
      Marek Vasut authored
      Make the function return either 0 or -EINVAL, that is, normal
      expected error codes and success codes instead of true/false
      nonsense.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      fda915a4
    • Marek Vasut's avatar
      fpga: altera: Move altera_validate to the top · 54c96b18
      Marek Vasut authored
      Move the function to the top of the file to avoid forward declaration.
      No functional change.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      54c96b18
    • Marek Vasut's avatar
      fpga: altera: More indentation trimdown · 4a4c0a5e
      Marek Vasut authored
      Further improve the indentation in the rest of the file, where
      the indentation is initially a bit less brutal. There is no
      functional change in this patch.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      4a4c0a5e
    • Marek Vasut's avatar
      fpga: altera: Clean up altera_validate function · 5561a841
      Marek Vasut authored
      Boldly go, where no programmer has gone before and just clean up
      the indentation mayhem. No functional change.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      5561a841
    • Marek Vasut's avatar
      fpga: altera: Clean up the printing and debug · 0ae16cbb
      Marek Vasut authored
      Clean up the printf() statements and get rid of the PRINTF()
      macro by replacing it with debug_cond().
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      0ae16cbb
  4. 11 Jun, 2014 1 commit
    • Simon Glass's avatar
      m68k: Fix warnings with gcc 4.6 · ddc94378
      Simon Glass authored
      Most of the warnings seem to be related to using 'int' for size_t. Change
      this and fix up the remaining warnings and problems. For bootm, the warning
      was masked by others, and there is an actual bug in the code.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      ddc94378
  5. 20 May, 2014 3 commits
  6. 13 May, 2014 8 commits
  7. 04 Mar, 2014 1 commit
  8. 06 Feb, 2014 1 commit
  9. 17 Nov, 2013 1 commit
  10. 06 Nov, 2013 2 commits
  11. 31 Oct, 2013 1 commit
  12. 14 Oct, 2013 1 commit
  13. 12 Aug, 2013 2 commits
  14. 24 Jul, 2013 1 commit
  15. 06 May, 2013 6 commits
  16. 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