1. 09 Aug, 2012 1 commit
    • Marek Vasut's avatar
      Malloc: Fix -Wundef warnings · 213adf6d
      Marek Vasut authored
      In file included from arch/arm/lib/board.c:43:0:
      include/malloc.h:490:5: warning: "HAVE_MMAP" is not defined [-Wundef]
      include/malloc.h:590:5: warning: "HAVE_USR_INCLUDE_MALLOC_H" is not defined [-Wundef]
      include/malloc.h:757:5: warning: "HAVE_MMAP" is not defined [-Wundef]
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      Cc: Wolfgang Denk <wd@denx.de>
  2. 09 Sep, 2011 1 commit
    • Simon Glass's avatar
      Add assert() for debug assertions · 21726a7a
      Simon Glass authored
      assert() is like BUG_ON() but compiles to nothing unless DEBUG is defined.
      This is useful when a condition is an error but a board reset is unlikely
      to fix it, so it is better to soldier on in hope. Assertion failures should
      be caught during development/test.
      It turns out that assert() is defined separately in a few places in U-Boot
      with various meanings. This patch cleans up some of these.
      Build errors exposed by this change (and defining DEBUG) are also fixed in
      this patch.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  3. 03 Oct, 2009 2 commits
  4. 04 Sep, 2009 2 commits
  5. 19 Jul, 2009 1 commit
  6. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
  7. 03 Nov, 2002 1 commit