]> git.dujemihanovic.xyz Git - u-boot.git/commit
malloc: make malloc_bin_reloc static
authorGabor Juhos <juhosg@openwrt.org>
Mon, 21 Jan 2013 21:10:38 +0000 (21:10 +0000)
committerTom Rini <trini@ti.com>
Tue, 19 Feb 2013 22:01:26 +0000 (17:01 -0500)
commit7b395232da84ae59bd32985bf944a0a9f417a543
tree9ce04937d6626a1021c7345cf0c85646c0fe1f2d
parent55db9ccae38866c627e64b497deda73547a1e84b
malloc: make malloc_bin_reloc static

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: Gabor 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>
arch/avr32/lib/board.c
arch/m68k/lib/board.c
arch/nds32/lib/board.c
arch/sparc/lib/board.c
common/dlmalloc.c
include/malloc.h