1. 01 Nov, 2013 1 commit
  2. 14 Oct, 2013 2 commits
  3. 24 Jul, 2013 1 commit
  4. 23 Jul, 2013 3 commits
  5. 16 Jul, 2013 1 commit
  6. 02 Jul, 2013 1 commit
  7. 27 Jun, 2013 3 commits
  8. 14 May, 2013 1 commit
  9. 01 May, 2013 1 commit
  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>
  11. 15 Mar, 2013 3 commits
    • Simon Glass's avatar
      Declare watchdog functions in watchdog.h · a6741bce
      Simon Glass authored
      These functions are only available for powerpc and are not declared in a
      header file. We want to use the rest function in two places (board_f and
      board_r), so declare the functions in watchdog.h.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Simon Glass's avatar
      Introduce generic link section.h symbol files · 18652864
      Simon Glass authored
      We create a separate header file for link symbols defined by the link
      scripts. It is helpful to have these all in one place and try to
      make them common across architectures. Since Linux already has a similar
      file, we bring this in even though many of the symbols there are not
      relevant to us.
      Each architecture has its own asm/sections.h where symbols specifc to
      that architecture can be added. For now everything except AVR32 just
      includes the generic header.
      One change is needed in arch/avr32/lib/board.c to make this conversion
      Reviewed-by: Tom Rini <trini@ti.com> (version 5)
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Simon Glass's avatar
      Replace __bss_end__ with __bss_end · 3929fb0a
      Simon Glass authored
      Note this is a tree-wide change affecting multiple architectures.
      At present we use __bss_start, but mostly __bss_end__. This seems
      inconsistent and in a number of places __bss_end is used instead.
      Change to use __bss_end for the BSS end symbol throughout U-Boot. This
      makes it possible to use the asm-generic/sections.h file on all
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  12. 19 Feb, 2013 1 commit
    • Gabor Juhos's avatar
      malloc: make malloc_bin_reloc static · 7b395232
      Gabor Juhos authored
      On architectures where manual relocation
      is needed, the 'malloc_bin_reloc' function
      must be called after 'mem_malloc_init'.
      Make the 'malloc_bin_reloc' function static
      and call it directly from 'mem_malloc_init'
      instead of calling that from board_init_{r,f}
      functions of the affected architectures.
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Andreas Bießmann <andreas.devel@gmail.com>
      Cc: Jason Jin <Jason.jin@freescale.com>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
  13. 04 Feb, 2013 3 commits
  14. 01 Feb, 2013 1 commit
    • Simon Glass's avatar
      Add architecture-specific global data · 5cb48582
      Simon Glass authored
      We plan to move architecture-specific data into a separate structure so
      that we can make the rest of it common.
      As a first step, create struct arch_global_data to hold these fields.
      Initially it is empty.
      This patch applies to all archs at once. I can split it if this is really
      a pain.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  15. 11 Jan, 2013 1 commit
  16. 13 Dec, 2012 1 commit
  17. 11 Dec, 2012 1 commit
    • Simon Glass's avatar
      Add strcasecmp() and strncasecmp() · b1f17bf5
      Simon Glass authored
      strncasecmp() is present as strnicmp() but disabled. Make it available
      and define strcasecmp() also. There is a only a small performance penalty
      to having strcasecmp() call strncasecmp(), so do this instead of a
      standalone function, to save code space.
      Update the prototype in arch-specific headers as needed to avoid warnings.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  18. 24 Oct, 2012 2 commits
  19. 22 Oct, 2012 1 commit
    • Marek Vasut's avatar
      common: Convert the U-Boot commands to LG-arrays · 6c7c946c
      Marek Vasut authored
      This patch converts the old method of creating a list of command
      onto the new LG-arrays code. The old u_boot_cmd section is converted
      to new u_boot_list_cmd subsection and LG-array macros used as needed.
      Minor adjustments had to be made to the common code to work with the
      LG-array macros, mostly the fixup_cmdtable() calls are now passed the
      ll_entry_start and ll_entry_count instead of linker-generated symbols.
      The command.c had to be adjusted as well so it would use the newly
      introduced LG-array API instead of directly using linker-generated
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
  20. 19 Oct, 2012 6 commits
  21. 15 Oct, 2012 1 commit
  22. 26 Sep, 2012 1 commit
  23. 20 Sep, 2012 3 commits