u-boot/arch/nds32
Gabor Juhos 7b395232da 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>
2013-02-19 17:01:26 -05:00
..
cpu/n1213 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
include/asm nds32: Add a basic errno.h 2013-02-18 15:29:07 +08:00
lib malloc: make malloc_bin_reloc static 2013-02-19 17:01:26 -05:00
config.mk nds32/lib: add generic funcs in NDS32 lib 2011-10-22 00:53:11 +02:00