[U-Boot] [PATCH] sh: Remove malloc_bin_reloc from SH

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Thu Oct 15 08:27:48 CEST 2009


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.nobuhiro at renesas.com>
---
 lib_sh/board.c   |    2 --
 lib_sh/config.mk |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/lib_sh/board.c b/lib_sh/board.c
index 5ed40e9..c97e20c 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;
-- 
1.6.4.3


More information about the U-Boot mailing list