summaryrefslogtreecommitdiffstats
path: root/include/malloc.h
Commit message (Collapse)AuthorAgeFilesLines
* Add assert() for debug assertionsSimon Glass2011-09-101-8/+0
| | | | | | | | | | | | | | | 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: Simon Glass <sjg@chromium.org>
* Consolidate arch-specific mem_malloc_init() implementationsPeter Tyser2009-09-041-0/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Consolidate arch-specific sbrk() implementationsPeter Tyser2009-09-041-0/+6
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* malloc.h: protect it against multiple includeJean-Christophe PLAGNIOL-VILLARD2009-07-191-1/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* * Code cleanup:wdenk2003-06-271-53/+46
| | | | | | | | | - 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)
* Initial revisionwdenk2002-11-031-0/+949
OpenPOWER on IntegriCloud