summaryrefslogtreecommitdiff
path: root/lib_sh
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-10-15 13:36:34 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-10-30 08:41:15 +0900
commit0f9eaf4b323ea0ca95944b84c7465b81ba575514 (patch)
tree67cbc142f6575e6da4e22f7a535dc5cb7ea6522e /lib_sh
parentf2b4bc04d6aed6be712d236dab48ac4c4da22cbf (diff)
sh: Remove malloc_bin_reloc from lib_sh, lib_nios2 and lib_nios.
By "arm/microblaze/nios/nios2/sh: Remove relocation fixups" (commit: 0630535e2d062dd73c1ceca5c6125c86d1127a49", doesn't need malloc_bin_reloc function. This commit remove this. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'lib_sh')
-rw-r--r--lib_sh/board.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib_sh/board.c b/lib_sh/board.c
index 5ed40e922..c97e20c3e 100644
--- a/lib_sh/board.c
+++ b/lib_sh/board.c
@@ -32,7 +32,6 @@
#include <miiphy.h>
#endif
-extern void malloc_bin_reloc (void);
extern int cpu_init(void);
extern int board_init(void);
extern int dram_init(void);
@@ -92,7 +91,6 @@ static int sh_mem_env_init(void)
{
mem_malloc_init(TEXT_BASE - CONFIG_SYS_GBL_DATA_SIZE -
CONFIG_SYS_MALLOC_LEN, CONFIG_SYS_MALLOC_LEN - 16);
- malloc_bin_reloc();
env_relocate();
jumptable_init();
return 0;