diff options
| author | Gabor Juhos <[email protected]> | 2013-01-21 21:10:38 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-02-19 17:01:26 -0500 |
| commit | 7b395232da84ae59bd32985bf944a0a9f417a543 (patch) | |
| tree | 9ce04937d6626a1021c7345cf0c85646c0fe1f2d /include | |
| parent | 55db9ccae38866c627e64b497deda73547a1e84b (diff) | |
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 <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Andreas Bießmann <[email protected]>
Cc: Jason Jin <[email protected]>
Cc: Macpaul Lin <[email protected]>
Cc: Daniel Hellstrom <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/malloc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/malloc.h b/include/malloc.h index 84ecf79344f..6295929ea38 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -937,7 +937,6 @@ extern ulong mem_malloc_end; extern ulong mem_malloc_brk; void mem_malloc_init(ulong start, ulong size); -void malloc_bin_reloc(void); #ifdef __cplusplus }; /* end of extern "C" */ |
