public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Clean up up malloc pool init
@ 2009-08-22  4:05 Peter Tyser
  2009-08-22  4:05 ` [U-Boot] [PATCH 1/3] Consolidate arch-specific sbrk() implementations Peter Tyser
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Peter Tyser @ 2009-08-22  4:05 UTC (permalink / raw)
  To: u-boot

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(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-09-04 19:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22  4:05 [U-Boot] [PATCH 0/3] Clean up up malloc pool init Peter Tyser
2009-08-22  4:05 ` [U-Boot] [PATCH 1/3] Consolidate arch-specific sbrk() implementations Peter Tyser
2009-09-04 19:45   ` Wolfgang Denk
2009-08-22  4:05 ` [U-Boot] [PATCH 2/3] Standardize mem_malloc_init() implementation Peter Tyser
2009-09-04 19:46   ` Wolfgang Denk
2009-08-22  4:05 ` [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations Peter Tyser
2009-08-22 10:51   ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-22 11:54     ` Wolfgang Denk
2009-08-22 12:32       ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-22 12:49         ` Wolfgang Denk
2009-08-22 16:45     ` Peter Tyser
2009-08-22 22:48       ` Graeme Russ
2009-09-04 19:47   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox