[U-Boot] [PATCH 0/3] Clean up up malloc pool init

Peter Tyser ptyser at xes-inc.com
Sat Aug 22 06:05:18 CEST 2009


Most architectures share nearly identical malloc initialization code.
This series factors out the common code into dlmalloc.c.

I tested on the XPedite5200, an mpc8548-based board.  Let me know if anyone
runs into any issues on other architectures.

Peter Tyser (3):
  Consolidate arch-specific sbrk() implementations
  Standardize mem_malloc_init() implementation
  Consolidate arch-specific mem_malloc_init() implementations

 common/dlmalloc.c      |   33 ++++++++++++++++++++++++++++++++-
 include/malloc.h       |    8 ++++++++
 lib_arm/board.c        |   34 ++--------------------------------
 lib_avr32/board.c      |   41 ++++-------------------------------------
 lib_blackfin/board.c   |   25 +------------------------
 lib_i386/board.c       |   21 ---------------------
 lib_m68k/board.c       |   41 +++--------------------------------------
 lib_microblaze/board.c |   40 ++++++----------------------------------
 lib_mips/board.c       |   40 +++-------------------------------------
 lib_nios/board.c       |   37 ++++---------------------------------
 lib_nios2/board.c      |   37 ++++---------------------------------
 lib_ppc/board.c        |   44 ++++++--------------------------------------
 lib_sh/board.c         |   31 ++-----------------------------
 lib_sparc/board.c      |   42 +++---------------------------------------
 14 files changed, 78 insertions(+), 396 deletions(-)



More information about the U-Boot mailing list